diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-03-07 19:20:51 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-03-08 22:44:14 +0100 |
commit | 1037731516cad66027816d416b188bb9aa097b60 (patch) | |
tree | 22a4de4890e2b7e225c29600591bead84b95caf3 /src/item.h | |
parent | 61a3b51b7e89dc3c545fe9891ac4c05fd09d8315 (diff) | |
download | mana-1037731516cad66027816d416b188bb9aa097b60.tar.gz mana-1037731516cad66027816d416b188bb9aa097b60.tar.bz2 mana-1037731516cad66027816d416b188bb9aa097b60.tar.xz mana-1037731516cad66027816d416b188bb9aa097b60.zip |
Made two getters const
Reviewed-by: Jared Adams
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,12 +56,12 @@ class Item /** * Returns the item image. */ - Image *getImage() { return mImage; } + Image *getImage() const { return mImage; } /** * Returns the item image. */ - Image *getDrawImage() { return mDrawImage; } + Image *getDrawImage() const { return mDrawImage; } /** * Sets the number of items. |