BWAPI
|
#include <Event.h>
Public Member Functions | |
Event () | |
~Event () | |
Event (const Event &other) | |
Event & | operator= (const Event &other) |
bool | operator== (const Event &other) const |
EventType::Enum | getType () const |
Position | getPosition () const |
const std::string & | getText () const |
Unit * | getUnit () const |
Player * | getPlayer () const |
bool | isWinner () const |
Event & | setType (EventType::Enum type) |
Event & | setPosition (Position position) |
Event & | setText (const char *text) |
Event & | setUnit (Unit *unit) |
Event & | setPlayer (Player *player) |
Event & | setWinner (bool isWinner) |
Static Public Member Functions | |
static Event | MatchStart () |
static Event | MatchEnd (bool isWinner) |
static Event | MatchFrame () |
static Event | MenuFrame () |
static Event | SendText (const char *text=NULL) |
static Event | ReceiveText (Player *player, const char *text=NULL) |
static Event | PlayerLeft (Player *player) |
static Event | PlayerDropped (Player *player) |
static Event | NukeDetect (Position target) |
static Event | UnitDiscover (Unit *unit) |
static Event | UnitEvade (Unit *unit) |
static Event | UnitShow (Unit *unit) |
static Event | UnitHide (Unit *unit) |
static Event | UnitCreate (Unit *unit) |
static Event | UnitDestroy (Unit *unit) |
static Event | UnitMorph (Unit *unit) |
static Event | UnitRenegade (Unit *unit) |
static Event | SaveGame (const char *gameName=NULL) |
static Event | UnitComplete (Unit *unit) |
BWAPI::Event::Event | ( | const Event & | other | ) |
Player * BWAPI::Event::getPlayer | ( | ) | const |
Position BWAPI::Event::getPosition | ( | ) | const |
const std::string & BWAPI::Event::getText | ( | ) | const |
EventType::Enum BWAPI::Event::getType | ( | ) | const |
Unit * BWAPI::Event::getUnit | ( | ) | const |
bool BWAPI::Event::isWinner | ( | ) | const |
Event BWAPI::Event::MatchEnd | ( | bool | isWinner | ) | [static] |
Event BWAPI::Event::MatchFrame | ( | ) | [static] |
Event BWAPI::Event::MatchStart | ( | ) | [static] |
Event BWAPI::Event::MenuFrame | ( | ) | [static] |
Event BWAPI::Event::NukeDetect | ( | Position | target | ) | [static] |
bool BWAPI::Event::operator== | ( | const Event & | other | ) | const |
Event BWAPI::Event::PlayerDropped | ( | Player * | player | ) | [static] |
Event BWAPI::Event::PlayerLeft | ( | Player * | player | ) | [static] |
Event BWAPI::Event::ReceiveText | ( | Player * | player, |
const char * | text = NULL |
||
) | [static] |
Event BWAPI::Event::SaveGame | ( | const char * | gameName = NULL | ) | [static] |
Event BWAPI::Event::SendText | ( | const char * | text = NULL | ) | [static] |
Event & BWAPI::Event::setPlayer | ( | Player * | player | ) |
Event & BWAPI::Event::setPosition | ( | Position | position | ) |
Event & BWAPI::Event::setText | ( | const char * | text | ) |
Event & BWAPI::Event::setType | ( | EventType::Enum | type | ) |
Event & BWAPI::Event::setUnit | ( | Unit * | unit | ) |
Event & BWAPI::Event::setWinner | ( | bool | isWinner | ) |
Event BWAPI::Event::UnitComplete | ( | Unit * | unit | ) | [static] |
Event BWAPI::Event::UnitCreate | ( | Unit * | unit | ) | [static] |
Event BWAPI::Event::UnitDestroy | ( | Unit * | unit | ) | [static] |
Event BWAPI::Event::UnitDiscover | ( | Unit * | unit | ) | [static] |
Event BWAPI::Event::UnitEvade | ( | Unit * | unit | ) | [static] |
Event BWAPI::Event::UnitHide | ( | Unit * | unit | ) | [static] |
Event BWAPI::Event::UnitMorph | ( | Unit * | unit | ) | [static] |
Event BWAPI::Event::UnitRenegade | ( | Unit * | unit | ) | [static] |
Event BWAPI::Event::UnitShow | ( | Unit * | unit | ) | [static] |