TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Classes | Public Member Functions | List of all members
cherrypi::FogOfWar Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

cherrypi::FogOfWar::FogOfWar ( )

Member Function Documentation

void cherrypi::FogOfWar::revealSightAt ( TilesInfo tt,
int  x,
int  y,
int  range,
bool  in_air,
int  currentFrame 
) const

The documentation for this class was generated from the following files: