diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index ce8462f3..3138f4e1 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -38,11 +38,15 @@ PATH_NODE::PATH_NODE(unsigned short x, unsigned short y): */ Being::Being(const std::string& name, const Genders gender, + const unsigned short hairStyle, + const unsigned short hairColor, const unsigned short level, const unsigned int money, const RawStatistics& stats) : mName(name), mGender(gender), + mHairStyle(hairStyle), + mHairColor(hairColor), mLevel(level), mMoney(money), mRawStats(stats) @@ -82,6 +86,26 @@ Being::getGender(void) const /** + * Get the Hair Style. + */ +unsigned short +Being::getHairStyle(void) const +{ + return mHairStyle; +} + + +/** + * Get the Hair Color. + */ +unsigned short +Being::getHairColor(void) const +{ + return mHairColor; +} + + +/** * Set the level. */ void |