diff options
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h index 91ecbb54..c97523a9 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -93,6 +93,12 @@ class Image : public Resource virtual void unload(); /** + * Tells is the image is loaded + */ + bool isLoaded() + { return mLoaded; } + + /** * Returns the width of the image. */ virtual int getWidth() const |