diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-28 15:14:22 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-28 15:14:22 +0000 |
commit | d51efb148feef39b5ae38924371e636118f6b361 (patch) | |
tree | b79b1523ba9b2816d71eeb2f7c099f07f0e0b4fb /src/being.h | |
parent | 51b75feaefd132ee0b7992a10dbe79bfa92e6d91 (diff) | |
download | mana-d51efb148feef39b5ae38924371e636118f6b361.tar.gz mana-d51efb148feef39b5ae38924371e636118f6b361.tar.bz2 mana-d51efb148feef39b5ae38924371e636118f6b361.tar.xz mana-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.h | 11 |
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 */ |