diff options
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; |