diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-31 17:42:24 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-31 17:42:24 +0000 |
commit | 768cf33e1b66994379ac757aae0589bee83a2e7f (patch) | |
tree | 73b4b157e6a389da21742f9005ffa507e5ace509 /src/being.h | |
parent | f131ed7e4341ef1b1845641a70eb70c5823afe47 (diff) | |
download | mana-768cf33e1b66994379ac757aae0589bee83a2e7f.tar.gz mana-768cf33e1b66994379ac757aae0589bee83a2e7f.tar.bz2 mana-768cf33e1b66994379ac757aae0589bee83a2e7f.tar.xz mana-768cf33e1b66994379ac757aae0589bee83a2e7f.zip |
Enumerations do not need out-of-class definitions.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/being.h b/src/being.h index 8bb382ee..6eca252c 100644 --- a/src/being.h +++ b/src/being.h @@ -91,10 +91,7 @@ class Being : public Sprite /** * Directions, to be used as bitmask values */ - static const char DOWN = 1; - static const char LEFT = 2; - static const char UP = 4; - static const char RIGHT = 8; + enum { DOWN = 1, LEFT = 2, UP = 4, RIGHT = 8 }; std::string mName; /**< Name of character */ Uint16 mJob; /**< Job (player job, npc, monster, ) */ |