diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-07 20:20:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-07 20:20:09 +0300 |
commit | 860c60be6c7a925bb4d8db291b771a6044d20308 (patch) | |
tree | ddeb0b2bd54a4b66bd699b220050e4f952bb429f /src/flooritem.h | |
parent | 6f9d0494f09833e29a05a2c06287fbee73cb7421 (diff) | |
download | mv-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.h | 2 |
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; } |