Implement this interface and call
This class receives all events from Broodwar.
The Bullet class is used to get information about individual bullets, missiles, spells, and generally any sort of non-melee attack.
Each Bullet object in the game has a certain type.
The Client class manages the connection between a BWAPI client program and the BWAPI server running in BWAPI.dll.
Starcraft uses a 256 color palette to render everything, so the colors available for draw shapes using BWAPI is limited to the colors available in the Pallete.
A utility stub class providing a default implementation of
Functions in BWAPI may set an error code.
The Force class is used to get information about each force in the match, such as the name of the force and the set of players in the force.
The abstract Game class is implemented by BWAPI and offers many methods for retrieving information about the current Broodwar game, including the set of players, units, map information, as well as information about the user, such as mouse position, screen position, and the current selection of units.
List of all GameTypes.
The API entry point.
To get detailed information about what a unit is doing, you can use the Unit::getOrder method, which will return an Order object.
Each player in a match will have his or her own player instance.
List of all PlayerTypes.
Positions are measured in pixels and are the highest resolution.
List of all Races.
The Region class provides access to some of Broodwar's pathing information and offers members that can assist in navigation, scouting, construction, and information for key areas such as chokepoints.
List of all TechTypes.
Build Tiles - each build tile is a 4x4 square of walk tiles, or a 32x32 square of pixels.
The Unit class is used to get information about individual units as well as issue orders to units.
Specifies the type of UnitCommand.
List of all UnitSizeTypes.
The UnitType class is used to get information about a particular type of unit, such as the build time of a Lurker, or the mineral price of an Ultralisk.
The UpgradeType class is used to get information about a particular upgrade.
List of all WeaponTypes.