|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.game.JVirus.JVirusPanel.GameListener
Callback listener for ActionControl
ActionControl| Fields inherited from interface org.game.JVirus.ActionControl.IGameListener |
LOSE, WIN |
| Constructor Summary | |
protected |
JVirusPanel.GameListener()
|
| Method Summary | |
void |
gameOver(int reason)
game over |
void |
lifesChanged(Avatar avatar)
lifes from avatar changed |
void |
scoreChanged(Avatar avatar)
score from avatar changed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected JVirusPanel.GameListener()
| Method Detail |
public void gameOver(int reason)
gameOver in interface ActionControl.IGameListenerreason - ActionControl.IGameListener.WIN or ActionControl.IGameListener.LOSEpublic void scoreChanged(Avatar avatar)
scoreChanged in interface ActionControl.IGameListeneravatar - the current avatarpublic void lifesChanged(Avatar avatar)
lifesChanged in interface ActionControl.IGameListeneravatar - the current avatar
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||