mkRPG
Public Member Functions
Image Class Reference

The Image class stores an external file in a QImage, and gives each image ressources a unique identifier. More...

#include <object.h>

Inheritance diagram for Image:
GameObject

Public Member Functions

Image Image (GameObject &parent, const QString &fileName)
bool isValid () const
const QImage & image () const
const QSize size () const
void update ()

Detailed Description

The Image class stores an external file in a QImage, and gives each image ressources a unique identifier.


Member Function Documentation

bool Image::isValid ( ) const [inline, virtual]

Checks if the GameObject is valid and if the image really exists.

Reimplemented from GameObject.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines