net.jinx.action
Class IdleEvent

java.lang.Object
  extended by net.jinx.action.ActorEvent
      extended by net.jinx.action.ClockEvent
          extended by net.jinx.action.IdleEvent

public class IdleEvent
extends ClockEvent

ClockEvent subclass that carries an interpolation value that can be used to interpolate between one Scene state and another. This is useful, since this variety of ClockEvent is fired off between uses of plain ClockEvents, while the Clock is idle.

API Stability: Stable.


Constructor Summary
IdleEvent(float deltaTime, float intp)
          Constructs an IdleEvent.
 
Method Summary
 float getInterpolation()
          Provides the interpolation value.
 
Methods inherited from class net.jinx.action.ClockEvent
getDeltaTime
 
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

IdleEvent

public IdleEvent(float deltaTime,
                 float intp)
Constructs an IdleEvent.

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

getInterpolation

public float getInterpolation()
Provides the interpolation value.

Returns:
the value.