public class DefaultBWListener extends Object implements BWEventListener
BWEventListener
.
Not all of the methods need an implementation.Constructor and Description |
---|
DefaultBWListener() |
Modifier and Type | Method and Description |
---|---|
void |
onEnd(boolean isWinner) |
void |
onFrame() |
void |
onNukeDetect(Position position) |
void |
onPlayerDropped(Player player) |
void |
onPlayerLeft(Player player) |
void |
onReceiveText(Player player,
String text) |
void |
onSaveGame(String text) |
void |
onSendText(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) |
public void onStart()
onStart
in interface BWEventListener
public void onEnd(boolean isWinner)
onEnd
in interface BWEventListener
public void onFrame()
onFrame
in interface BWEventListener
public void onSendText(String text)
onSendText
in interface BWEventListener
public void onReceiveText(Player player, String text)
onReceiveText
in interface BWEventListener
public void onPlayerLeft(Player player)
onPlayerLeft
in interface BWEventListener
public void onNukeDetect(Position position)
onNukeDetect
in interface BWEventListener
public void onUnitDiscover(Unit unit)
onUnitDiscover
in interface BWEventListener
public void onUnitEvade(Unit unit)
onUnitEvade
in interface BWEventListener
public void onUnitShow(Unit unit)
onUnitShow
in interface BWEventListener
public void onUnitHide(Unit unit)
onUnitHide
in interface BWEventListener
public void onUnitCreate(Unit unit)
onUnitCreate
in interface BWEventListener
public void onUnitDestroy(Unit unit)
onUnitDestroy
in interface BWEventListener
public void onUnitMorph(Unit unit)
onUnitMorph
in interface BWEventListener
public void onUnitRenegade(Unit unit)
onUnitRenegade
in interface BWEventListener
public void onSaveGame(String text)
onSaveGame
in interface BWEventListener
public void onUnitComplete(Unit unit)
onUnitComplete
in interface BWEventListener
public void onPlayerDropped(Player player)
onPlayerDropped
in interface BWEventListener
Copyright © 2022. All rights reserved.