org.game.JVirus
Interface ActionControl.IGameListener
- All Known Implementing Classes:
- JVirusPanel.GameListener
- Enclosing class:
- ActionControl
- public static interface ActionControl.IGameListener
callback interface for game events
Field Summary |
static int |
LOSE
constant for losing the game |
static int |
WIN
constant for winning the game |
WIN
public static final int WIN
- constant for winning the game
LOSE
public static final int LOSE
- constant for losing the game
gameOver
public void gameOver(int reason)
- end of the game
scoreChanged
public void scoreChanged(Avatar avatar)
- game score changed
lifesChanged
public void lifesChanged(Avatar avatar)
- game lifes changed