mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 19:15:11 +00:00
More Constructors
This commit is contained in:
1 parent
91bcd43942
commit
3e6e28d857
3 files changed
+6
No files matched your search
@@ -11,6 +11,8 @@ public class Animation {
|
||||
public float speed = 1.0F;
|
||||
public boolean smooth = false;
|
||||
|
||||
public Animation(){}
|
||||
|
||||
public Animation(ArrayList<Frame> parts, String name){
|
||||
this.frames = parts;
|
||||
this.name = name;
|
||||
|
||||
@@ -13,6 +13,8 @@ public class Frame {
|
||||
public float speed = 1.0F;
|
||||
public boolean smooth = false;
|
||||
|
||||
public Frame(){}
|
||||
|
||||
public Frame(ArrayList<FramePart> parts, int duration){
|
||||
this.frameParts = parts;
|
||||
this.duration = duration;
|
||||
|
||||
@@ -19,6 +19,8 @@ public class FramePart {
|
||||
|
||||
public float speed = 1.0F;
|
||||
public boolean smooth = false;
|
||||
|
||||
public FramePart(){}
|
||||
|
||||
public FramePart(EnumAnimationPart part){
|
||||
this.part = part;
|
||||
|
||||
Reference in new issue
Block a user