MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / notifyScanners

Method notifyScanners

game/state/battle/battle.cpp:1875–1881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1873void Battle::queueVisionRefresh(Vec3<int> tile) { tilesChangedForVision.insert(tile); }
1874
1875void Battle::notifyScanners(Vec3<int> position)
1876{
1877 for (auto &s : scanners)
1878 {
1879 s.second->notifyMovement(position);
1880 }
1881}
1882
1883void Battle::notifyAction(Vec3<int> location, StateRef<BattleUnit> actorUnit)
1884{

Callers 1

setPositionMethod · 0.80

Calls 1

notifyMovementMethod · 0.80

Tested by

no test coverage detected