mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-12 18:18:43 +08:00
parent
a0caef69f5
commit
c2fe1a3d77
@ -1156,6 +1156,12 @@ public class AnimationState {
|
||||
return nextTrackLast != -1;
|
||||
}
|
||||
|
||||
/** Returns true if there is a {@link #getNext()} track entry that is ready to become the current track entry during the
|
||||
* next {@link AnimationState#update(float)}. */
|
||||
public boolean isNextReady () {
|
||||
return next != null && nextTrackLast - next.delay >= 0;
|
||||
}
|
||||
|
||||
/** Returns true if at least one loop has been completed.
|
||||
* <p>
|
||||
* See {@link AnimationStateListener#complete(TrackEntry)}. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user