mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
Javadocs
This commit is contained in:
parent
6e0e420e0a
commit
d07321c9e7
@ -27,7 +27,7 @@ package com.esotericsoftware.spine;
|
|||||||
|
|
||||||
import com.badlogic.gdx.math.MathUtils;
|
import com.badlogic.gdx.math.MathUtils;
|
||||||
|
|
||||||
/** Automatically mixes between animations as they change. */
|
/** Stores state for an animation and automatically mixes between animations. */
|
||||||
public class AnimationState {
|
public class AnimationState {
|
||||||
private final AnimationStateData data;
|
private final AnimationStateData data;
|
||||||
Animation current, previous;
|
Animation current, previous;
|
||||||
@ -88,6 +88,10 @@ public class AnimationState {
|
|||||||
return currentTime;
|
return currentTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setTime (float time) {
|
||||||
|
currentTime = time;
|
||||||
|
}
|
||||||
|
|
||||||
public AnimationStateData getData () {
|
public AnimationStateData getData () {
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user