Class GUI.AnimationState<T extends GUIObject>
java.lang.Object
com.blackrook.gui.GUI.AnimationState<T>
- Type Parameters:
T- the GUI object type.
- Enclosing class:
GUI
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidupdate(double progressScalar, boolean start, boolean end) Updates the object on this state using the progress factor provided.
-
Field Details
-
object
-
-
Constructor Details
-
AnimationState
-
-
Method Details
-
update
public abstract void update(double progressScalar, boolean start, boolean end) Updates the object on this state using the progress factor provided. This factor is already calculated from easing.- Parameters:
progressScalar- progress scalar (0 to 1).start- if this is the first call.end- if this is the last call.
-