public class AttackAnimationRegistry
extends java.lang.Object
AttackAnimations for Attacks. During preInit,
animation name and instance should be added to animations.
If they are properly added during preInit, they can be added to the move JSONs and
smoothly deserialize.| Modifier and Type | Field and Description |
|---|---|
static java.util.HashMap<java.lang.String,java.lang.Class<? extends AttackAnimation>> |
animations
Maps animation type key to animation instance.
|
| Constructor and Description |
|---|
AttackAnimationRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getKeyForAnimation(AttackAnimation animation)
Gets the key for the given animation.
|
public static java.util.HashMap<java.lang.String,java.lang.Class<? extends AttackAnimation>> animations
public static java.lang.String getKeyForAnimation(AttackAnimation animation)