BWAPI  4.2.0
An API for interacting with Starcraft: Broodwar (1.16.1)
Enumerations
BWAPI::CoordinateType Namespace Reference

Enumerations

enum  Enum {
  None = 0,
  Screen = 1,
  Map = 2,
  Mouse = 3
}

Detailed Description

Contains the coordinate type enumeration for relative drawing positions.

Enumeration Type Documentation

The coordinate type enumeration, used to indicate relative drawing positions.

Enumerator
None 

A default value for uninitialized coordinate types.

Screen 

Positions::Origin (0,0) corresponds to the top left corner of the screen.

Map 

Positions::Origin (0,0) corresponds to the top left corner of the map.

Mouse 

Positions::Origin (0,0) corresponds to the location of the mouse cursor.