summaryrefslogtreecommitdiff
path: root/src/flooritem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-07 20:20:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-07 20:20:09 +0300
commit860c60be6c7a925bb4d8db291b771a6044d20308 (patch)
treeddeb0b2bd54a4b66bd699b220050e4f952bb429f /src/flooritem.h
parent6f9d0494f09833e29a05a2c06287fbee73cb7421 (diff)
downloadmv-860c60be6c7a925bb4d8db291b771a6044d20308.tar.gz
mv-860c60be6c7a925bb4d8db291b771a6044d20308.tar.bz2
mv-860c60be6c7a925bb4d8db291b771a6044d20308.tar.xz
mv-860c60be6c7a925bb4d8db291b771a6044d20308.zip
Add getName property to item and flooritem.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r--src/flooritem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flooritem.h b/src/flooritem.h
index 791b125f1..817fa0317 100644
--- a/src/flooritem.h
+++ b/src/flooritem.h
@@ -66,6 +66,8 @@ class FloorItem : public ActorSprite
*/
const ItemInfo &getInfo() const;
+ std::string getName();
+
virtual int getTileX() const
{ return mX; }