net.vee.btech.saikoro.event
Interface GameListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- GameManager, Saikoro, SaikoroPane
- public interface GameListener
- extends java.util.EventListener
A Game event listener. Classes implmenting this
interface can register with a Game to listen for game
events.
|
Method Summary |
void |
gameMutation(GameEvent e)
This method is invoked when the game has been
modified in some way. |
void |
newRound(GameEvent e)
This method is invoked when a new round has begun. |
gameMutation
public void gameMutation(GameEvent e)
- This method is invoked when the game has been
modified in some way.
- Parameters:
e - the event describing the mutation.
newRound
public void newRound(GameEvent e)
- This method is invoked when a new round has begun.
- Parameters:
e - the game event.