summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sprite.h b/src/sprite.h
index 9c6401dcb..20f38bef0 100644
--- a/src/sprite.h
+++ b/src/sprite.h
@@ -104,6 +104,12 @@ class Sprite
*/
virtual unsigned int getFrameCount() const = 0;
+ virtual void *getHash()
+ { return 0; }
+
+ virtual void *getHash2()
+ { return this; }
+
protected:
float mAlpha; /**< The alpha opacity used to draw */
};