summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 12:18:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 14:52:11 +0300
commitbb9ed14fc1bf7dc20f1e951e67bb359c273033a3 (patch)
treec46e7e5708d3a2058233a41a08995e6c861703ea /src/being/being.h
parent10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4 (diff)
downloadplus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.gz
plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.bz2
plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.xz
plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.zip
fix code style.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 87949479c..020c97e45 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -599,9 +599,9 @@ class Being : public ActorSprite, public ConfigListener
/**
* Sets the gender of this being.
*/
- virtual void setGender(const Gender gender);
+ virtual void setGender(const Gender::Type gender);
- Gender getGender() const A_WARN_UNUSED
+ Gender::Type getGender() const A_WARN_UNUSED
{ return mGender; }
/**
@@ -858,9 +858,9 @@ class Being : public ActorSprite, public ConfigListener
void setLook(const uint8_t look);
- static uint8_t genderToInt(const Gender sex) A_WARN_UNUSED;
+ static uint8_t genderToInt(const Gender::Type sex) A_WARN_UNUSED;
- static Gender intToGender(const uint8_t sex) A_WARN_UNUSED;
+ static Gender::Type intToGender(const uint8_t sex) A_WARN_UNUSED;
NextSoundInfo mNextSound;
@@ -956,7 +956,7 @@ class Being : public ActorSprite, public ConfigListener
int mAttackRange;
int mLastAttackX;
int mLastAttackY;
- Gender mGender;
+ Gender::Type mGender;
BeingAction::Action mAction;
uint16_t mSubType; /**< Subtype (graphical view, basically) */
uint8_t mDirection; /**< Facing direction */