Class AnimationTime
java.lang.Object
one.empty3.library.core.animation.AnimationTime
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected long
protected long
protected double
protected double
protected double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
getFps()
long
getFrame()
double
double
double
void
increase
(double time) void
increase
(int numberOfFrames) void
setFps
(long fps) void
setFrame
(long frame) void
setTimeCurrentInAnimation
(double timeCurrentInAnimation) void
setTimeMax
(double timeMax) void
setTimeMin
(double timeMin)
-
Field Details
-
fps
protected long fps -
frame
protected long frame -
timeCurrentInAnimation
protected double timeCurrentInAnimation -
timeMin
protected double timeMin -
timeMax
protected double timeMax
-
-
Constructor Details
-
AnimationTime
public AnimationTime(long fps)
-
-
Method Details
-
avanceUneFrame
public void avanceUneFrame() -
getFps
public long getFps() -
setFps
public void setFps(long fps) -
getFrame
public long getFrame() -
setFrame
public void setFrame(long frame) -
getTimeCurrentInAnimation
public double getTimeCurrentInAnimation() -
setTimeCurrentInAnimation
public void setTimeCurrentInAnimation(double timeCurrentInAnimation) -
increase
public void increase(double time) -
increase
public void increase(int numberOfFrames) -
getTimeMin
public double getTimeMin() -
setTimeMin
public void setTimeMin(double timeMin) -
getTimeMax
public double getTimeMax() -
setTimeMax
public void setTimeMax(double timeMax)
-