All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.loki3.cyber.pawn.GameListeners

java.lang.Object
    |
    +----com.loki3.cyber.pawn.GameListeners

public class GameListeners
extends java.lang.Object
implements GameListener
Collection of GameListener objects


Constructor Index

 o GameListeners()
 

Method Index

 o add(GameListener)
 
 o gameEnded()
Notify everybody game has ended.
 o gameStarted()
Notify everybody game has begun.
 o gameTick(double)
Notify everybody of game tick.
 o use(Pawn)
This class doesn't accept pawns to control

Constructor Detail

 o GameListeners
public GameListeners()

Method Detail

 o add
public void add(GameListener obj)
 o use
public boolean use(Pawn pawn)
          This class doesn't accept pawns to control
 o gameStarted
public void gameStarted()
          Notify everybody game has begun.
 o gameTick
public void gameTick(double tick)
          Notify everybody of game tick.
Parameters:
tick - how many time units have passed since last call.
 o gameEnded
public void gameEnded()
          Notify everybody game has ended.

All Packages  Class Hierarchy  This Package  Previous  Next  Index