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

Method getVisible

game/state/battle/battle.cpp:1863–1866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1861}
1862
1863bool Battle::getVisible(StateRef<Organisation> org, int x, int y, int z) const
1864{
1865 return visibleTiles.at(org).at(z * size.x * size.y + y * size.x + x);
1866}
1867
1868void Battle::setVisible(StateRef<Organisation> org, int x, int y, int z, bool val)
1869{

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected