BWAPI
Public Member Functions
BuildingPlacer Class Reference

#include <BuildingPlacer.h>

List of all members.

Public Member Functions

 BuildingPlacer ()
bool canBuildHere (BWAPI::TilePosition position, BWAPI::UnitType type) const
bool canBuildHereWithSpace (BWAPI::TilePosition position, BWAPI::UnitType type) const
bool canBuildHereWithSpace (BWAPI::TilePosition position, BWAPI::UnitType type, int buildDist) const
BWAPI::TilePosition getBuildLocation (BWAPI::UnitType type) const
BWAPI::TilePosition getBuildLocationNear (BWAPI::TilePosition position, BWAPI::UnitType type) const
BWAPI::TilePosition getBuildLocationNear (BWAPI::TilePosition position, BWAPI::UnitType type, int buildDist) const
bool buildable (int x, int y) const
void reserveTiles (BWAPI::TilePosition position, int width, int height)
void freeTiles (BWAPI::TilePosition position, int width, int height)
void setBuildDistance (int distance)
int getBuildDistance () const
bool isReserved (int x, int y) const

Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

bool BuildingPlacer::buildable ( int  x,
int  y 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

bool BuildingPlacer::canBuildHereWithSpace ( BWAPI::TilePosition  position,
BWAPI::UnitType  type,
int  buildDist 
) const

Here is the call graph for this function:

void BuildingPlacer::freeTiles ( BWAPI::TilePosition  position,
int  width,
int  height 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

bool BuildingPlacer::isReserved ( int  x,
int  y 
) const

Here is the call graph for this function:

void BuildingPlacer::reserveTiles ( BWAPI::TilePosition  position,
int  width,
int  height 
)

Here is the call graph for this function:


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