aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/ardor3d-animation
diff options
context:
space:
mode:
authorRenanse <[email protected]>2012-11-29 11:08:48 -0600
committerRenanse <[email protected]>2012-11-29 11:08:48 -0600
commite3f28b6bd920c3c77653c5b9e4adedcdc0e285a9 (patch)
tree9c7b70c94757c1877ee5cfd63163483f2df4ac91 /trunk/ardor3d-animation
parenta5fd58ef4176c834a3b57fc70302d7ae9e2e4025 (diff)
Small tweak to previous pull.
Diffstat (limited to 'trunk/ardor3d-animation')
-rw-r--r--trunk/ardor3d-animation/src/main/java/com/ardor3d/extension/animation/skeletal/AnimationManager.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/trunk/ardor3d-animation/src/main/java/com/ardor3d/extension/animation/skeletal/AnimationManager.java b/trunk/ardor3d-animation/src/main/java/com/ardor3d/extension/animation/skeletal/AnimationManager.java
index 30e2e9b..32e9b0b 100644
--- a/trunk/ardor3d-animation/src/main/java/com/ardor3d/extension/animation/skeletal/AnimationManager.java
+++ b/trunk/ardor3d-animation/src/main/java/com/ardor3d/extension/animation/skeletal/AnimationManager.java
@@ -188,8 +188,7 @@ public class AnimationManager {
setAnimationUpdateState(AnimationUpdateState.Pause);
}
- public void stop(final boolean resetOnStop) {
- setResetClipsOnStop(resetOnStop);
+ public void stop() {
setAnimationUpdateState(AnimationUpdateState.Stop);
}
@@ -201,6 +200,10 @@ public class AnimationManager {
return _currentAnimationState == AnimationUpdateState.Pause;
}
+ public boolean isStopped() {
+ return _currentAnimationState == AnimationUpdateState.Stop;
+ }
+
/**
* @param newAnimationState
* the new animation state in the animation Manager.