summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h
index edc25c09..9b6596e5 100644
--- a/src/being.h
+++ b/src/being.h
@@ -36,6 +36,7 @@
class Map;
class Graphics;
+class Spriteset;
struct PATH_NODE
{
@@ -260,8 +261,8 @@ class Being : public Sprite
*
* @see Sprite::draw(Graphics, int, int)
*/
- void
- draw(Graphics *graphics, Sint32 offsetX, Sint32 offsetY) {};
+ virtual void
+ draw(Graphics *graphics, Sint32 offsetX, Sint32 offsetY);
/**
* Returns the pixel X coordinate.
@@ -311,6 +312,9 @@ class Being : public Sprite
Uint32 damage_time;
bool showSpeech, showDamage;
Sint32 mPx, mPy; /**< Pixel coordinates */
+
+ Spriteset *mSpriteset;
+ int mSpriteFrame;
};
#endif