Go to the documentation of this file.
65 void draw(
const Point& dest,
float scaleFactor,
int drawFlags,
LightView *lightView =
nullptr);
92 std::vector<ThingPtr>
getThings() {
return m_things; }
133 void checkTranslucentLight();
139 uint8 m_drawElevation;
140 uint8 m_minimapColor;
141 uint32 m_flags, m_houseId;
ThingPtr getTopMultiUseThing()
std::vector< ThingPtr > getThings()
void setHouseId(uint32 hid)
bool isWalkable(bool ignoreCreatures=false)
ThingPtr getTopLookThing()
void addThing(const ThingPtr &thing, int stackPos)
CreaturePtr getTopCreature()
std::vector< ItemPtr > getItems()
bool hasFlag(uint32 flag)
bool limitsFloorsView(bool isFreeView=false)
std::vector< CreaturePtr > getWalkingCreatures()
const Position & getPosition()
void addWalkingCreature(const CreaturePtr &creature)
bool hasTranslucentLight()
ThingPtr getThing(int stackPos)
int getThingStackPos(const ThingPtr &thing)
bool removeThing(ThingPtr thing)
uint8 getMinimapColorByte()
void removeWalkingCreature(const CreaturePtr &creature)
void draw(const Point &dest, float scaleFactor, int drawFlags, LightView *lightView=nullptr)
std::vector< CreaturePtr > getCreatures()
@ TILESTATE_PROTECTIONZONE
@ TILESTATE_TRANSLUECENT_LIGHT
ThingPtr getTopUseThing()
Tile(const Position &position)
void setFlag(uint32 flag)
bool hasElevation(int elevation=1)
void setFlags(uint32 flags)
bool hasThing(const ThingPtr &thing)
void remFlag(uint32 flag)
EffectPtr getEffect(uint16 id)
LuaObject, all script-able classes have it as base.
void overwriteMinimapColor(uint8 color)
ThingPtr getTopMoveThing()