|
mkRPG
|
The Image class stores an external file in a QImage, and gives each image ressources a unique identifier. More...
#include <object.h>
Public Member Functions | |
| Image | Image (GameObject &parent, const QString &fileName) |
| bool | isValid () const |
| const QImage & | image () const |
| const QSize | size () const |
| void | update () |
The Image class stores an external file in a QImage, and gives each image ressources a unique identifier.
| bool Image::isValid | ( | ) | const [inline, virtual] |
Checks if the GameObject is valid and if the image really exists.
Reimplemented from GameObject.
1.7.6.1