rle.core.event
Class GameClockEvent

java.lang.Object
  extended by rle.core.event.GameClockEvent

public class GameClockEvent
extends java.lang.Object

Encapsulates a single 'tick' on the game clock.


Constructor Summary
GameClockEvent(GameContext context, long tickNumber)
           
 
Method Summary
 GameContext getContext()
           
 long getTickNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameClockEvent

public GameClockEvent(GameContext context,
                      long tickNumber)
Method Detail

getTickNumber

public long getTickNumber()

getContext

public GameContext getContext()