Type Alias rsbwapi::CoordinateType

source ·
pub type CoordinateType = BWAPI_CoordinateType_Enum;

Aliased Type§

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

Variants§

§

None = 0

A default value for uninitialized coordinate types.
§

Screen = 1

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

Map = 2

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

Mouse = 3

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