diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-06-21 17:06:57 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-06-21 17:06:57 +0000 |
commit | e87c165b31b3bdb784f23fd7d1e6a795859aa24c (patch) | |
tree | 913263b303ff1019d8be92ade326a028c012db16 /src/being.h | |
parent | 46cf032fc0eea43743b86d9e05950dd7a65728b7 (diff) | |
download | mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.gz mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.bz2 mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.xz mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.zip |
Added female players.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index fbc03456..685f786b 100644 --- a/src/being.h +++ b/src/being.h @@ -169,6 +169,18 @@ class Being : public Sprite */ Uint16 getHairStyle() const { return mHairStyle; } + + /** + * Sets the sex for this being. + */ + void + setSex(Uint8 sex) { mSex = sex; } + + /** + * Gets the sex for this being. + */ + Uint8 + getSex() const { return mSex; } /** * Makes this being take the next step of his path. @@ -315,6 +327,7 @@ class Being : public Sprite std::string mSpeech; std::string mDamage; Uint16 mHairStyle, mHairColor; + Uint8 mSex; Uint32 mSpeechTime; Uint32 mDamageTime; bool mShowSpeech, mShowDamage; |