|
BWAPI
|
#include <AIModule.h>
Public Member Functions | |
| TournamentModule () | |
| virtual | ~TournamentModule () |
| virtual bool | onAction (int actionType, void *parameter=NULL) |
| virtual void | onFirstAdvertisement () |
Definition at line 90 of file AIModule.h.
| virtual BWAPI::TournamentModule::~TournamentModule | ( | ) | [virtual] |
| virtual bool BWAPI::TournamentModule::onAction | ( | int | actionType, |
| void * | parameter = NULL |
||
| ) | [virtual] |
BWAPI calls this any time some Game-related functions are called. Return true to allow them, or false to disallow them. This includes functions like Game::pauseGame and Game::enableFlag.
| virtual void BWAPI::TournamentModule::onFirstAdvertisement | ( | ) | [virtual] |
BWAPI calls this when this module was the first to send out its tournament advertisement. It can prevent both modules from performing the same task if it's necessary.
1.7.6.1