|
TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
Calculates which tiles should be revealed by a unit's vision. More...
#include <fogofwar.h>
Public Member Functions | |
| FogOfWar () | |
| void | revealSightAt (TilesInfo &tt, int x, int y, int range, bool in_air, int currentFrame) const |
Calculates which tiles should be revealed by a unit's vision.
BWAPI gives you your own vision, but this can be used to understand the opponent's vision.
| cherrypi::FogOfWar::FogOfWar | ( | ) |
| void cherrypi::FogOfWar::revealSightAt | ( | TilesInfo & | tt, |
| int | x, | ||
| int | y, | ||
| int | range, | ||
| bool | in_air, | ||
| int | currentFrame | ||
| ) | const |
1.8.11