diff options
author | Tametomo <irarice@gmail.com> | 2009-04-15 19:55:29 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-15 19:57:02 +0200 |
commit | 5f00b25ba2895704123eb3d01b3ab5d012d2f333 (patch) | |
tree | 5f94b0a8b54c8a2200c1fe568917f06551208b07 /src/floor_item.cpp | |
parent | ef13037435c671b76c75c3ecefbad83dbdc578f2 (diff) | |
download | mana-client-5f00b25ba2895704123eb3d01b3ab5d012d2f333.tar.gz mana-client-5f00b25ba2895704123eb3d01b3ab5d012d2f333.tar.bz2 mana-client-5f00b25ba2895704123eb3d01b3ab5d012d2f333.tar.xz mana-client-5f00b25ba2895704123eb3d01b3ab5d012d2f333.zip |
Some PopupMenu cleanups/fixes and additions.
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/floor_item.cpp')
-rw-r--r-- | src/floor_item.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/floor_item.cpp b/src/floor_item.cpp index 000835ad..b8c0ffaf 100644 --- a/src/floor_item.cpp +++ b/src/floor_item.cpp @@ -56,6 +56,11 @@ int FloorItem::getItemId() const return mItem->getId(); } +Item* FloorItem::getItem() const +{ + return mItem; +} + void FloorItem::draw(Graphics *graphics, int offsetX, int offsetY) const { graphics->drawImage(mItem->getImage(), |