summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/src/being.h b/src/being.h
index 6c123377..2770dd6b 100644
--- a/src/being.h
+++ b/src/being.h
@@ -33,7 +33,7 @@
#include "map.h"
#include "animatedsprite.h"
-#define NR_HAIR_STYLES 7
+#define NR_HAIR_STYLES 8
#define NR_HAIR_COLORS 10
class AnimatedSprite;
@@ -183,28 +183,22 @@ class Being : public Sprite
setName(const std::string &name) { mName = name; }
/**
- * Sets the hair color for this being.
- */
- virtual void
- setHairColor(Uint16 color);
-
- /**
* Gets the hair color for this being.
*/
- Uint16
- getHairColor() const { return mHairColor; }
+ int getHairColor() const
+ { return mHairColor; }
/**
- * Sets the hair style for this being.
+ * Gets the hair style for this being.
*/
- virtual void
- setHairStyle(Uint16 style);
+ int getHairStyle() const
+ { return mHairStyle; }
/**
- * Gets the hair style for this being.
+ * Sets the hair style and color for this being.
*/
- Uint16
- getHairStyle() const { return mHairStyle; }
+ virtual void
+ setHairStyle(int style, int color);
/**
* Sets visible equipments for this being.