BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
BWAPI::Event Class Reference

#include <Event.h>

List of all members.

Public Member Functions

 Event ()
 ~Event ()
 Event (const Event &other)
Eventoperator= (const Event &other)
bool operator== (const Event &other) const
EventType::Enum getType () const
Position getPosition () const
const std::string & getText () const
UnitgetUnit () const
PlayergetPlayer () const
bool isWinner () const
EventsetType (EventType::Enum type)
EventsetPosition (Position position)
EventsetText (const char *text)
EventsetUnit (Unit *unit)
EventsetPlayer (Player *player)
EventsetWinner (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)

Constructor & Destructor Documentation

BWAPI::Event::Event ( const Event other)

Member Function Documentation

Here is the caller graph for this function:

Here is the caller graph for this function:

const std::string & BWAPI::Event::getText ( ) const

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

bool BWAPI::Event::isWinner ( ) const

Here is the caller graph for this function:

Event BWAPI::Event::MatchEnd ( bool  isWinner) [static]

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Event BWAPI::Event::NukeDetect ( Position  target) [static]
Event & BWAPI::Event::operator= ( const Event other)
bool BWAPI::Event::operator== ( const Event other) const
Event BWAPI::Event::PlayerDropped ( Player player) [static]

Here is the caller graph for this function:

Event BWAPI::Event::PlayerLeft ( Player player) [static]

Here is the caller graph for this function:

Event BWAPI::Event::ReceiveText ( Player player,
const char *  text = NULL 
) [static]

Here is the caller graph for this function:

Event BWAPI::Event::SaveGame ( const char *  gameName = NULL) [static]

Here is the caller graph for this function:

Event BWAPI::Event::SendText ( const char *  text = NULL) [static]

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Event & BWAPI::Event::setText ( const char *  text)

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Event & BWAPI::Event::setWinner ( bool  isWinner)

Here is the call graph for this function:

Here is the caller graph for this function:

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]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines