summaryrefslogtreecommitdiff
path: root/src/flooritem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-08 23:37:30 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-08 23:37:30 +0200
commit958b06cd741311d42c03c6b91c64ea01c713f516 (patch)
treeb309d316087f85cdf57d266bf678f9923007899b /src/flooritem.h
parentee1a1c0e14058fb1a31904a6e2cf0c0ce90bc26b (diff)
downloadManaVerse-958b06cd741311d42c03c6b91c64ea01c713f516.tar.gz
ManaVerse-958b06cd741311d42c03c6b91c64ea01c713f516.tar.bz2
ManaVerse-958b06cd741311d42c03c6b91c64ea01c713f516.tar.xz
ManaVerse-958b06cd741311d42c03c6b91c64ea01c713f516.zip
Replace also color constants in pickup messages.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r--src/flooritem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flooritem.h b/src/flooritem.h
index f1d19b89f..3e2f8ef47 100644
--- a/src/flooritem.h
+++ b/src/flooritem.h
@@ -80,6 +80,9 @@ class FloorItem : public ActorSprite
unsigned getPickupCount() const
{ return mPickupCount; }
+ unsigned char getColor() const
+ { return mColor; }
+
private:
int mItemId;
int mX, mY;