com.blastedstudios.gdxworld.world.animation.AnimationStruct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of GDXWorld Show documentation
Show all versions of GDXWorld Show documentation
Uploads all artifacts belonging to configuration ':archives'
The newest version!
package com.blastedstudios.gdxworld.world.animation;
import java.io.Serializable;
import com.blastedstudios.gdxworld.plugin.quest.manifestation.physics.PhysicsManifestation;
import com.blastedstudios.gdxworld.world.quest.manifestation.AbstractQuestManifestation;
public class AnimationStruct implements Cloneable,Serializable{
private static final long serialVersionUID = 1L;
public AbstractQuestManifestation manifestation = new PhysicsManifestation();
public float time;
public AnimationStruct(){}
public AnimationStruct(AbstractQuestManifestation manifestation, float time){
this.manifestation = manifestation;
this.time = time;
}
@Override public Object clone(){
AnimationStruct clone = new AnimationStruct();
clone.manifestation = manifestation.clone();
clone.time = time;
return clone;
}
@Override public String toString(){
return "[AnimationStruct time: " + time + " manifestation: " + manifestation.toString() + "]";
}
}