summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-12-01 16:54:19 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-12-01 16:54:19 +0000
commitab431cdfab6e1842ff357c7f380cc74142601912 (patch)
treec10b04d93a14cfd1cfee98db562c5b6b00d9a2b9 /src/being.h
parent30aa32025d3406920330390b97001ade27e4343a (diff)
downloadmana-client-ab431cdfab6e1842ff357c7f380cc74142601912.tar.gz
mana-client-ab431cdfab6e1842ff357c7f380cc74142601912.tar.bz2
mana-client-ab431cdfab6e1842ff357c7f380cc74142601912.tar.xz
mana-client-ab431cdfab6e1842ff357c7f380cc74142601912.zip
Monster sound effect patch
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.