summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/being.h b/src/being.h
index 81f7bc07..80b07e87 100644
--- a/src/being.h
+++ b/src/being.h
@@ -68,14 +68,12 @@ class Being : public Sprite
};
enum Action {
- STAND = 0,
- WALK = 1,
- MONSTER_ATTACK = 5,
- SIT = 7,
- DEAD = 8,
- ATTACK = 9,
- MONSTER_DEAD = 9,
- HIT = 17
+ STAND,
+ WALK,
+ ATTACK,
+ SIT,
+ DEAD,
+ HURT
};
enum Sprite {
@@ -290,7 +288,8 @@ class Being : public Sprite
/**
* Sets the current action.
*/
- void setAction(Uint8 action);
+ virtual void
+ setAction(Uint8 action);
/**
* Returns the current direction.