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

Method getLosBlockID

game/state/battle/battle.cpp:1858–1861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1856}
1857
1858int Battle::getLosBlockID(int x, int y, int z) const
1859{
1860 return tileToLosBlock.at(z * size.x * size.y + y * size.x + x);
1861}
1862
1863bool Battle::getVisible(StateRef<Organisation> org, int x, int y, int z) const
1864{

Callers 3

thinkMethod · 0.80
handleMouseDownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected