MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / removeFromGameMap

Method removeFromGameMap

source/entities/MapLight.cpp:94–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void MapLight::removeFromGameMap()
95{
96 fireEntityRemoveFromGameMap();
97 removeEntityFromPositionTile();
98 getGameMap()->removeMapLight(this);
99 getGameMap()->removeAnimatedObject(this);
100 getGameMap()->removeClientUpkeepEntity(this);
101
102 if(!getIsOnServerMap())
103 return;
104
105 fireRemoveEntityToSeatsWithVision();
106}
107
108std::vector<Tile*> MapLight::getCoveredTiles()
109{

Callers

nothing calls this directly

Calls 3

removeMapLightMethod · 0.80
removeAnimatedObjectMethod · 0.80

Tested by

no test coverage detected