mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-06 10:46:53 +08:00
Javadoc.
This commit is contained in:
parent
8a6b75fb9a
commit
30c511f53e
@ -1232,7 +1232,8 @@ public class AnimationState {
|
|||||||
start, interrupt, end, dispose, complete, event
|
start, interrupt, end, dispose, complete, event
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The interface to implement for receiving TrackEntry events.
|
/** The interface to implement for receiving TrackEntry events. It is always safe to call AnimationState methods when receiving
|
||||||
|
* events.
|
||||||
* <p>
|
* <p>
|
||||||
* See TrackEntry {@link TrackEntry#setListener(AnimationStateListener)} and AnimationState
|
* See TrackEntry {@link TrackEntry#setListener(AnimationStateListener)} and AnimationState
|
||||||
* {@link AnimationState#addListener(AnimationStateListener)}. */
|
* {@link AnimationState#addListener(AnimationStateListener)}. */
|
||||||
@ -1251,10 +1252,14 @@ public class AnimationState {
|
|||||||
* References to the entry should not be kept after <code>dispose</code> is called, as it may be destroyed or reused. */
|
* References to the entry should not be kept after <code>dispose</code> is called, as it may be destroyed or reused. */
|
||||||
public void dispose (TrackEntry entry);
|
public void dispose (TrackEntry entry);
|
||||||
|
|
||||||
/** Invoked every time this entry's animation completes a loop. */
|
/** Invoked every time this entry's animation completes a loop. Because this event is trigged in
|
||||||
|
* {@link AnimationState#apply(Skeleton)}, any animations set in response to the event won't be applied until the next time
|
||||||
|
* the AnimationState is applied. */
|
||||||
public void complete (TrackEntry entry);
|
public void complete (TrackEntry entry);
|
||||||
|
|
||||||
/** Invoked when this entry's animation triggers an event. */
|
/** Invoked when this entry's animation triggers an event. Because this event is trigged in
|
||||||
|
* {@link AnimationState#apply(Skeleton)}, any animations set in response to the event won't be applied until the next time
|
||||||
|
* the AnimationState is applied. */
|
||||||
public void event (TrackEntry entry, Event event);
|
public void event (TrackEntry entry, Event event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user