BWAPI
Public Member Functions | Static Public Member Functions
MapGrid Class Reference

#include <MapGrid.h>

List of all members.

Public Member Functions

void update ()
void GetUnits (UnitVector &units, BWAPI::Position center, int radius, bool ourUnits, bool oppUnits)
BWAPI::Position getLeastExplored ()
BWAPI::Position getNaturalExpansion ()
GridCellgetCellByIndex (int r, int c)
GridCellgetCell (BWAPI::Position pos)
GridCellgetCell (BWAPI::Unit *unit)

Static Public Member Functions

static MapGridgetInstance ()

Member Function Documentation

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:

MapGrid * MapGrid::getInstance ( ) [static]

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void MapGrid::update ( )

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines