#ifndef ITEM_H #define ITEM_H #include #include "thing.h" class Item : public Thing { public: Item(); virtual const ThingAttributes& getAttributes(); void draw(int x, int y); void setCount(uint8 count) { m_count = count; } virtual Item* getItem() { return this; } virtual const Item* getItem() const { return this; } private: uint8 m_count; }; #endif // ITEM_H