|
BWAPI
|
#include <MapGrid.h>
Public Member Functions | |
| void | update () |
| void | GetUnits (UnitVector &units, BWAPI::Position center, int radius, bool ourUnits, bool oppUnits) |
| BWAPI::Position | getLeastExplored () |
| BWAPI::Position | getNaturalExpansion () |
| GridCell & | getCellByIndex (int r, int c) |
| GridCell & | getCell (BWAPI::Position pos) |
| GridCell & | getCell (BWAPI::Unit *unit) |
Static Public Member Functions | |
| static MapGrid * | getInstance () |
| GridCell& MapGrid::getCell | ( | BWAPI::Position | pos | ) | [inline] |


| GridCell& MapGrid::getCell | ( | BWAPI::Unit * | unit | ) | [inline] |


| GridCell& MapGrid::getCellByIndex | ( | int | r, |
| int | c | ||
| ) | [inline] |

| MapGrid * MapGrid::getInstance | ( | ) | [static] |



| void MapGrid::GetUnits | ( | UnitVector & | units, |
| BWAPI::Position | center, | ||
| int | radius, | ||
| bool | ourUnits, | ||
| bool | oppUnits | ||
| ) |


| void MapGrid::update | ( | ) |


1.7.6.1