Class ActorAnimator.Track
java.lang.Object
com.codename1.gaming.platformer.view.ActorAnimator.Track
- Enclosing class:
ActorAnimator
One actor's place in its animation.
-
Constructor Details
-
Track
public Track()
-
-
Method Details
-
tick
Advances one world tick.
Parameters
s: the actor's state this tick
-
getState
The state being shown.
Returns
the state, null before the first tick
-
getTicks
public int getTicks()Ticks spent in the state.
Returns
the tick count
-