summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-06-21 17:06:57 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-06-21 17:06:57 +0000
commite87c165b31b3bdb784f23fd7d1e6a795859aa24c (patch)
tree913263b303ff1019d8be92ade326a028c012db16 /src/being.h
parent46cf032fc0eea43743b86d9e05950dd7a65728b7 (diff)
downloadmana-client-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.gz
mana-client-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.bz2
mana-client-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.xz
mana-client-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.zip
Added female players.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h13
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;