diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-02-02 19:54:42 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-02-02 19:54:42 +0000 |
commit | af6d41608a32266ed0251ba4909daa4fa81baca6 (patch) | |
tree | 93e8f90ee849ed21d8cb352ecd38710a4ed48b8d /src/being.h | |
parent | 63dcf62ec17992b8993dcab5ace8f3af5c7f8277 (diff) | |
download | mana-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.gz mana-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.bz2 mana-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.xz mana-af6d41608a32266ed0251ba4909daa4fa81baca6.zip |
Made Engine class even more useless by moving emoticon loading into Being.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h index 38f44fb4..91913385 100644 --- a/src/being.h +++ b/src/being.h @@ -43,12 +43,17 @@ class Map; class Graphics; class Spriteset; +/** + * A position along a being's path. + */ struct PATH_NODE { /** * Constructor. */ - PATH_NODE(unsigned short x, unsigned short y); + PATH_NODE(unsigned short x, unsigned short y): + x(x), y(y) + { } unsigned short x; unsigned short y; @@ -375,6 +380,10 @@ class Being : public Sprite std::vector<AnimatedSprite*> mSprites; std::vector<int> mEquipmentSpriteIDs; + + private: + static int instances; /**< Number of Being instances */ + static Spriteset *emotionset; /**< Emoticons used by beings */ }; #endif |