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