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
 
Method Summary
 void gameOver(int reason)
          end of the game
 void lifesChanged(Avatar avatar)
          game lifes changed
 void scoreChanged(Avatar avatar)
          game score changed
 

Field Detail

WIN

public static final int WIN
constant for winning the game

LOSE

public static final int LOSE
constant for losing the game
Method Detail

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