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

Method notifyDead

source/entities/DoorEntity.cpp:152–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152bool DoorEntity::notifyDead(GameEntity* entity)
153{
154 if(entity == mBuilding)
155 {
156 mBuilding = nullptr;
157 return false;
158 }
159 return true;
160}
161
162bool DoorEntity::notifyRemovedFromGameMap(GameEntity* entity)
163{

Callers 1

fireEntityDeadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected