Added AnimComposer.hasAction() method

accellbaker
Ali-RS 6 years ago committed by Stephen Gold
parent 254a5839c1
commit 637162e484
  1. 4
      jme3-core/src/main/java/com/jme3/anim/AnimComposer.java

@ -97,6 +97,10 @@ public class AnimComposer extends AbstractControl {
action = new ClipAction(clip); action = new ClipAction(clip);
return action; return action;
} }
public boolean hasAction(String name) {
return actions.containsKey(name);
}
public void makeLayer(String name, AnimationMask mask){ public void makeLayer(String name, AnimationMask mask){
Layer l = new Layer(); Layer l = new Layer();

Loading…
Cancel
Save