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

Method addSeatWithVision

source/entities/GameEntity.cpp:311–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311void GameEntity::addSeatWithVision(Seat* seat, bool async)
312{
313 if(std::find(mSeatsWithVisionNotified.begin(), mSeatsWithVisionNotified.end(), seat) != mSeatsWithVisionNotified.end())
314 return;
315
316 mSeatsWithVisionNotified.push_back(seat);
317 fireAddEntity(seat, async);
318}
319
320void GameEntity::removeSeatWithVision(Seat* seat)
321{

Callers 2

fireAddEntityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected