summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-26 16:25:55 -0700
committerIra Rice <irarice@gmail.com>2009-01-26 16:25:55 -0700
commit368a7d109248fe286aad278e744192746381df9c (patch)
tree2a3c1fd8b00772e35e16118abb173daa5f1502e5 /src/being.h
parent63126a5dd5e6cf9acaf9b2114e8ac7213939d69f (diff)
downloadmana-368a7d109248fe286aad278e744192746381df9c.tar.gz
mana-368a7d109248fe286aad278e744192746381df9c.tar.bz2
mana-368a7d109248fe286aad278e744192746381df9c.tar.xz
mana-368a7d109248fe286aad278e744192746381df9c.zip
Created a new equipment screen, which is loosely related to the
equipment screen on TMW's mainline client. Also fixed up the player box so that it can be used in game as well, which could potentially be useful in the future for making future equipment dialog changes. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 80295db8..b4508661 100644
--- a/src/being.h
+++ b/src/being.h
@@ -370,6 +370,9 @@ class Being : public Sprite
static std::string getHairColor(int index);
+ virtual AnimatedSprite* getSprite(int index) const
+ { return mSprites[index]; }
+
protected:
/**
* Sets the new path for this being.