mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
22 lines
518 B
Java
22 lines
518 B
Java
package com.hbm.animloader;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
public class Animation {
|
|
|
|
public static final Animation EMPTY = createBlankAnimation();
|
|
|
|
public int length;
|
|
public int numKeyFrames;
|
|
public Map<String, Transform[]> objectTransforms = new HashMap<String, Transform[]>();
|
|
|
|
private static Animation createBlankAnimation(){
|
|
Animation anim = new Animation();
|
|
anim.numKeyFrames = 0;
|
|
anim.length = 0;
|
|
anim.objectTransforms = new HashMap<String, Transform[]>();
|
|
return anim;
|
|
}
|
|
|
|
} |