BWAPI  4.2.0
An API for interacting with Starcraft: Broodwar (1.16.1)
Variables
BWAPI::Colors Namespace Reference

Variables

constexpr Color Black { 0 }
constexpr Color Blue { 165 }
constexpr Color Brown { 19 }
constexpr Color Cyan { 128 }
constexpr Color Green { 117 }
constexpr Color Grey { 74 }
constexpr Color Orange { 179 }
constexpr Color Purple { 164 }
constexpr Color Red { 111 }
constexpr Color Teal { 159 }
constexpr Color White { 255 }
constexpr Color Yellow { 135 }

Detailed Description

Namespace containing known colors.

See also
Color

Variable Documentation

BWAPI::Colors::Red { 111 }

The default color for Player 1.

BWAPI::Colors::Blue { 165 }

The default color for Player 2.

BWAPI::Colors::Teal { 159 }

The default color for Player 3.

BWAPI::Colors::Purple { 164 }

The default color for Player 4.

BWAPI::Colors::Orange { 179 }

The default color for Player 5.

BWAPI::Colors::Brown { 19 }

The default color for Player 6.

BWAPI::Colors::White { 255 }

A bright white. Note that this is lighter than Player 7's white.

BWAPI::Colors::Yellow { 135 }

The default color for Player 8.

BWAPI::Colors::Green { 117 }

The alternate color for Player 7 on Ice tilesets.

BWAPI::Colors::Cyan { 128 }

The default color for Neutral (Player 12).

BWAPI::Colors::Black { 0 }

The color black

BWAPI::Colors::Grey { 74 }

The color grey