summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index de759612..f91d2275 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -79,17 +79,6 @@ class Image : public Resource
static Image *load(SDL_Surface *);
/**
- * Frees the resources created by SDL.
- */
- void unload();
-
- /**
- * Tells is the image is loaded
- */
- bool isLoaded() const
- { return mLoaded; }
-
- /**
* Returns the width of the image.
*/
int getWidth() const
@@ -163,7 +152,6 @@ class Image : public Resource
// -----------------------
SDL_Rect mBounds;
- bool mLoaded = false;
float mAlpha = 1.0f;
// -----------------------