#ifndef TILE_H #define TILE_H #include "declarations.h" #include class Tile : public LuaObject { public: Tile(); void draw(int x, int y); void addThing(ThingPtr thing, uint8 stackpos); ThingPtr getThing(uint8 stackpos); void removeThing(uint8 stackpos); void removeThingByPtr(ThingPtr thing); void clean(); bool hasGround() { return (!!m_ground); } int getStackSize(); private: ThingPtr m_ground; std::deque m_itemsBottom; std::deque m_creatures; std::deque m_itemsTop; std::deque m_effects; }; #endif