Class VectorSequenceGlider
java.lang.Object
com.github.yellowstonegames.smooth.Glider
com.github.yellowstonegames.smooth.SequenceGlider
com.github.yellowstonegames.smooth.VectorSequenceGlider
Very experimental; allows chaining a sequence of VectorGlider movements.
-
Nested Class Summary
Nested classes/interfaces inherited from class Glider
Glider.Changer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.github.tommyettinger.ds.ObjectObjectOrderedMap<com.github.yellowstonegames.grid.Direction, VectorSequenceGlider> Predefined VectorSequenceGliders for bump animations in different directions (keyed by that direction).static final VectorSequenceGliderA VectorSequenceGlider that has no movements; useful as a default value.Fields inherited from class SequenceGlider
active, durations, passed, sequenceFields inherited from class Glider
change, changers, completeRunner, interpolation -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SequenceGlider
equals, getEndFloat, getEndInt, getFloat, getInt, getInterpolation, getStartFloat, getStartInt, hashCode, setChange, setEndFloat, setEndInt, setInterpolation, setStartFloat, setStartInt, toStringMethods inherited from class Glider
addChanger, addChangers, addChangers, getChange, getCompleteRunner, merge, onComplete, removeChanger, resetToCurrent, setCompleteRunner
-
Field Details
-
EMPTY
A VectorSequenceGlider that has no movements; useful as a default value. You probably want to copy this usingcopy()instead of modifying this global reference, though there aren't many changes that will make a difference in the behavior of this particular global. -
BUMPS
public static final com.github.tommyettinger.ds.ObjectObjectOrderedMap<com.github.yellowstonegames.grid.Direction, VectorSequenceGlider> BUMPSPredefined VectorSequenceGliders for bump animations in different directions (keyed by that direction). It is strongly recommended that you copy the VectorSequenceGlider value usingcopy(), and avoid using it directly.
-
-
Constructor Details
-
VectorSequenceGlider
public VectorSequenceGlider() -
VectorSequenceGlider
-
VectorSequenceGlider
-
-
Method Details
-
copy
-
getX
public float getX() -
getY
public float getY()
-