summaryrefslogtreecommitdiff
path: root/src/flooritem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-27 18:08:34 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-27 23:26:17 +0200
commitdf5c7ae83a80db63ab90142df9e3a93f5ee630d0 (patch)
tree465991eb7785c1d17e1b15f6798efa67951a0c83 /src/flooritem.h
parent41e84157e0eca3a494cd6d44eec96dfbde0f5626 (diff)
downloadplus-df5c7ae83a80db63ab90142df9e3a93f5ee630d0.tar.gz
plus-df5c7ae83a80db63ab90142df9e3a93f5ee630d0.tar.bz2
plus-df5c7ae83a80db63ab90142df9e3a93f5ee630d0.tar.xz
plus-df5c7ae83a80db63ab90142df9e3a93f5ee630d0.zip
First part of implimintation item colors.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r--src/flooritem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flooritem.h b/src/flooritem.h
index deff05bc8..f1d19b89f 100644
--- a/src/flooritem.h
+++ b/src/flooritem.h
@@ -48,7 +48,8 @@ class FloorItem : public ActorSprite
int x,
int y,
Map *map,
- int amount);
+ int amount,
+ unsigned char color);
Type getType() const
{ return FLOOR_ITEM; }
@@ -88,6 +89,7 @@ class FloorItem : public ActorSprite
int mDropTime;
int mAmount;
unsigned mPickupCount;
+ unsigned char mColor;
};
#endif