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

Method updateVisionBlockage

game/state/tilemap/tile.cpp:461–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459}
460
461bool Tile::updateVisionBlockage(int value)
462{
463 if (visionBlockValue == value)
464 {
465 return false;
466 }
467 visionBlockValue = value;
468 return true;
469}
470
471sp<TileObjectBattleUnit> Tile::getUnitIfPresent() const { return firstUnitPresent; }
472

Callers 1

updateTileVisionBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected