net.jinx.action
Class ClockEvent

java.lang.Object
  extended by net.jinx.action.ActorEvent
      extended by net.jinx.action.ClockEvent
Direct Known Subclasses:
IdleEvent

public class ClockEvent
extends ActorEvent

ActorEvent subclass that delivers a change in time value. This event is sent out by Clock objects.

API Stability: Stable.


Constructor Summary
ClockEvent(float deltaTime)
          Constructs a ClockEvent.
 
Method Summary
 float getDeltaTime()
          Provides the change in time value.
 
Methods inherited from class net.jinx.action.ActorEvent
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClockEvent

public ClockEvent(float deltaTime)
Constructs a ClockEvent.

Parameters:
deltaTime - the change in time value.
Method Detail

getDeltaTime

public float getDeltaTime()
Provides the change in time value.

Returns:
the value.