summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h
index 56995eb6..7e8e0f9c 100644
--- a/src/item.h
+++ b/src/item.h
@@ -59,6 +59,11 @@ class Item
Image *getImage() { return mImage; }
/**
+ * Returns the item image.
+ */
+ Image *getDrawImage() { return mDrawImage; }
+
+ /**
* Sets the number of items.
*/
void setQuantity(int quantity) { mQuantity = quantity; }
@@ -121,6 +126,7 @@ class Item
protected:
int mId; /**< Item type id. */
Image *mImage; /**< Item image. */
+ Image *mDrawImage; /**< Draw image. */
int mQuantity; /**< Number of items. */
bool mEquipment; /**< Item is equipment. */
bool mEquipped; /**< Item is equipped. */