Package totalcross.game
Class AnimationEvent
- java.lang.Object
-
- totalcross.ui.event.Event
-
- totalcross.game.AnimationEvent
-
public class AnimationEvent extends Event
Events posted by an animation control.
-
-
Constructor Summary
Constructors Constructor Description AnimationEvent(int type, java.lang.Object target)Constructs a new animation event, setting the type and target to the given parameters.
-
Method Summary
-
Methods inherited from class totalcross.ui.event.Event
clearQueue, getNextAvailableEventId, isAvailable, toString, touch
-
-
-
-
Field Detail
-
LOOP
public static final int LOOP
The event type when the animation loops.- See Also:
- Constant Field Values
-
FRAME
public static final int FRAME
The event type when a new frame is displayed.- See Also:
- Constant Field Values
-
FINISH
public static final int FINISH
The event type when the animation ends.- See Also:
- Constant Field Values
-
-