Skip to content

Commit 2c6161e

Browse files
author
Ali-RS
committed
Added AnimComposer.hasAnimClip()
1 parent d4c9a9a commit 2c6161e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

jme3-core/src/main/java/com/jme3/anim/AnimComposer.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ public AnimComposer() {
3232
layers.put(DEFAULT_LAYER, new Layer(this));
3333
}
3434

35+
public boolean hasAnimClip(String name) {
36+
return animClipMap.containsKey(name);
37+
}
38+
3539
/**
3640
* Retrieve an animation from the list of animations.
3741
*

0 commit comments

Comments
 (0)