|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.action.ActorEvent net.jinx.action.ClockEvent net.jinx.action.IdleEvent
public class IdleEvent
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 |
---|
public IdleEvent(float deltaTime, float intp)
deltaTime
- the change in time value.intp
- the interpolation value.Method Detail |
---|
public float getInterpolation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |