mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 18:26:12 +08:00
[libgdx] Added AnimationState#wasApplied.
This commit is contained in:
parent
546d55a929
commit
a70e8f1e28
@ -1132,6 +1132,13 @@ public class AnimationState {
|
|||||||
return previous;
|
return previous;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Returns true if this track entry has been applied at least once.
|
||||||
|
* <p>
|
||||||
|
* See {@link AnimationState#apply(Skeleton)}. */
|
||||||
|
public boolean wasApplied () {
|
||||||
|
return nextTrackLast != -1;
|
||||||
|
}
|
||||||
|
|
||||||
/** Returns true if at least one loop has been completed.
|
/** Returns true if at least one loop has been completed.
|
||||||
* <p>
|
* <p>
|
||||||
* See {@link AnimationStateListener#complete(TrackEntry)}. */
|
* See {@link AnimationStateListener#complete(TrackEntry)}. */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user