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

Method removeSeatWithVision

source/entities/GameEntity.cpp:320–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320void GameEntity::removeSeatWithVision(Seat* seat)
321{
322 std::vector<Seat*>::iterator it = std::find(mSeatsWithVisionNotified.begin(), mSeatsWithVisionNotified.end(), seat);
323 if(it == mSeatsWithVisionNotified.end())
324 return;
325
326 mSeatsWithVisionNotified.erase(it);
327 fireRemoveEntity(seat);
328}
329
330void GameEntity::fireRemoveEntityToSeatsWithVision()
331{

Callers 1

fireRemoveEntityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected