summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-28 15:14:22 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-28 15:14:22 +0000
commitd51efb148feef39b5ae38924371e636118f6b361 (patch)
treeb79b1523ba9b2816d71eeb2f7c099f07f0e0b4fb /src/being.h
parent51b75feaefd132ee0b7992a10dbe79bfa92e6d91 (diff)
downloadmana-client-d51efb148feef39b5ae38924371e636118f6b361.tar.gz
mana-client-d51efb148feef39b5ae38924371e636118f6b361.tar.bz2
mana-client-d51efb148feef39b5ae38924371e636118f6b361.tar.xz
mana-client-d51efb148feef39b5ae38924371e636118f6b361.zip
Added an action enumeration to th Being class and removed the old #define's.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 3a68e0ac..beeac528 100644
--- a/src/being.h
+++ b/src/being.h
@@ -53,6 +53,17 @@ class Being
MONSTER
};
+ enum Action {
+ STAND = 0,
+ WALK = 1,
+ ATTACK = 5,
+ BOW_ATTACK = 9,
+ MONSTER_DEAD = 9,
+ SIT = 13,
+ HIT = 14,
+ DEAD = 15,
+ };
+
unsigned short job; /**< Job (player job, npc, monster, ) */
unsigned short x, y; /**< Tile coordinates */
unsigned char direction; /**< Facing direction */