Added has() function

This commit is contained in:
Luis C.M committed 2023-01-28 01:19:57 -06:00
1 parent 1a47b68621
commit c90a5d9713
1 file changed
+4
@@ -88,6 +88,10 @@ public class AnimationController implements IAnimationHandler {
this.animations.remove(name);
}
public boolean has(String name) {
return this.animations.containsKey(name);
}
public IAnimation get(String name) {
return this.animations.get(name);
}