public interface BWEventListener
AIModule.setEventListener(bwapi.BWEventListener)
to receive all of the in game events.Modifier and Type | Method and Description |
---|---|
void |
onEnd(boolean isWinner) |
void |
onFrame() |
void |
onNukeDetect(Position target) |
void |
onPlayerDropped(Player player) |
void |
onPlayerLeft(Player player) |
void |
onReceiveText(Player player,
java.lang.String text) |
void |
onSaveGame(java.lang.String gameName) |
void |
onSendText(java.lang.String text) |
void |
onStart() |
void |
onUnitComplete(Unit unit) |
void |
onUnitCreate(Unit unit) |
void |
onUnitDestroy(Unit unit) |
void |
onUnitDiscover(Unit unit) |
void |
onUnitEvade(Unit unit) |
void |
onUnitHide(Unit unit) |
void |
onUnitMorph(Unit unit) |
void |
onUnitRenegade(Unit unit) |
void |
onUnitShow(Unit unit) |
void onStart()
void onEnd(boolean isWinner)
void onFrame()
void onSendText(java.lang.String text)
void onReceiveText(Player player, java.lang.String text)
void onPlayerLeft(Player player)
void onNukeDetect(Position target)
void onUnitDiscover(Unit unit)
void onUnitEvade(Unit unit)
void onUnitShow(Unit unit)
void onUnitHide(Unit unit)
void onUnitCreate(Unit unit)
void onUnitDestroy(Unit unit)
void onUnitMorph(Unit unit)
void onUnitRenegade(Unit unit)
void onSaveGame(java.lang.String gameName)
void onUnitComplete(Unit unit)
void onPlayerDropped(Player player)