summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-10 02:24:56 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-10 02:24:56 +0000
commitdecb141cc131cfd5f7e44e1ac4ca9e1e6525e686 (patch)
treeab1973915b960ecf54853c6058b212f3fc50aaf9 /src/being.h
parent31047c05a9b56c101566301d81931c66bc4b9ecd (diff)
downloadmana-decb141cc131cfd5f7e44e1ac4ca9e1e6525e686.tar.gz
mana-decb141cc131cfd5f7e44e1ac4ca9e1e6525e686.tar.bz2
mana-decb141cc131cfd5f7e44e1ac4ca9e1e6525e686.tar.xz
mana-decb141cc131cfd5f7e44e1ac4ca9e1e6525e686.zip
Always compile with debug window and hide it on startup. Also added fading out
effect on damage font (only works in OpenGL).
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/being.h b/src/being.h
index 67c8c6b6..59ee7ca2 100644
--- a/src/being.h
+++ b/src/being.h
@@ -135,7 +135,7 @@ class Being : public Sprite
* Returns the name of the being.
*/
const std::string&
- getName() { return mName; }
+ getName() const { return mName; }
/**
* Sets the name for the being.
@@ -148,22 +148,26 @@ class Being : public Sprite
/**
* Sets the hair color for this being.
*/
- void setHairColor(Uint16 color);
+ void
+ setHairColor(Uint16 color);
/**
* Gets the hair color for this being.
*/
- Uint16 getHairColor();
+ Uint16
+ getHairColor() const { return hairColor; }
/**
* Sets the hair style for this being.
*/
- void setHairStyle(Uint16 style);
+ void
+ setHairStyle(Uint16 style);
/**
* Gets the hair style for this being.
*/
- Uint16 getHairStyle();
+ Uint16
+ getHairStyle() const { return hairStyle; }
/**
* Makes this being take the next step of his path.