Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- active - Variable in class com.github.yellowstonegames.smooth.SequenceGlider
- addChanger(Glider.Changer) - Method in class com.github.yellowstonegames.smooth.Glider
- addChangers(Glider.Changer...) - Method in class com.github.yellowstonegames.smooth.Glider
- addChangers(Collection) - Method in class com.github.yellowstonegames.smooth.Glider
- ANGLE - Static variable in interface com.github.yellowstonegames.smooth.FloatSmoother
-
A method reference to
MathTools.lerpAngleTurns(float, float, float). - AngleGlider - Class in com.github.yellowstonegames.smooth
-
Allows specifying a smoothly-changing float value that represents an angle, using floats measured in turns (between 0 and 1) for start and end, with a change amount that affects how far the value has changed from start to end.
- AngleGlider() - Constructor for class com.github.yellowstonegames.smooth.AngleGlider
- AngleGlider(float) - Constructor for class com.github.yellowstonegames.smooth.AngleGlider
- AngleGlider(float, float) - Constructor for class com.github.yellowstonegames.smooth.AngleGlider
- animate(float) - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
-
Required to use to have the animation play; give this a steadily increasing stateTime (measured in seconds, as a float) and it will steadily play the animation; if stateTime stops increasing or this stops being called, then the animation is effectively paused.
- AnimatedGlidingSprite - Class in com.github.yellowstonegames.smooth
-
Extends
Sprite, but uses anAnimationofTextureRegionfor its visuals and aCoordGliderto store its position. - AnimatedGlidingSprite(Animation) - Constructor for class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- AnimatedGlidingSprite(Animation, Coord) - Constructor for class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- AnimatedGlidingSprite(Animation, Coord, Coord) - Constructor for class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- animation - Variable in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- appendSerializedString(StringBuilder, Vector2) - Static method in class com.github.yellowstonegames.smooth.VectorTools
-
Appends the serialized representation of the given Vector2 to the given StringBuilder.
- apply(float) - Method in class com.github.yellowstonegames.smooth.WrapperInterpolation
- apply(float, float, float) - Method in interface com.github.yellowstonegames.smooth.FloatSmoother
- apply(float, float, float) - Method in class com.github.yellowstonegames.smooth.WrapperInterpolation
- apply(int, int, float) - Method in interface com.github.yellowstonegames.smooth.IntSmoother
B
- bounds - Variable in class com.github.yellowstonegames.smooth.ParentSprite
- BUMPS - Static variable in class com.github.yellowstonegames.smooth.VectorSequenceGlider
-
Predefined VectorSequenceGliders for bump animations in different directions (keyed by that direction).
C
- change - Variable in class com.github.yellowstonegames.smooth.Glider
- Changer(String, float) - Constructor for class com.github.yellowstonegames.smooth.Glider.Changer
- Changer(String, float, float) - Constructor for class com.github.yellowstonegames.smooth.Glider.Changer
- Changer(String, float, float, FloatSmoother) - Constructor for class com.github.yellowstonegames.smooth.Glider.Changer
- Changer(String, int, int, IntSmoother) - Constructor for class com.github.yellowstonegames.smooth.Glider.Changer
- changers - Variable in class com.github.yellowstonegames.smooth.Glider
- color - Variable in class com.github.yellowstonegames.smooth.ParentSprite
- COLOR - Static variable in interface com.github.yellowstonegames.smooth.IntSmoother
-
A method reference to
DescriptiveColor.lerpColors(int, int, float). - com.github.yellowstonegames.smooth - package com.github.yellowstonegames.smooth
- completeRunner - Variable in class com.github.yellowstonegames.smooth.Glider
- container - Variable in class com.github.yellowstonegames.smooth.Director
- CoordGlider - Class in com.github.yellowstonegames.smooth
-
Allows specifying a smoothly-changing float position using an exact Coord for the start and the end, with a change amount that affects how far a position has moved from start to end.
- CoordGlider() - Constructor for class com.github.yellowstonegames.smooth.CoordGlider
- CoordGlider(Interpolations.Interpolator, Runnable, Coord, Coord) - Constructor for class com.github.yellowstonegames.smooth.CoordGlider
- CoordGlider(Coord) - Constructor for class com.github.yellowstonegames.smooth.CoordGlider
- CoordGlider(Coord, Coord) - Constructor for class com.github.yellowstonegames.smooth.CoordGlider
- CoordGlider(CoordGlider) - Constructor for class com.github.yellowstonegames.smooth.CoordGlider
- copy() - Method in class com.github.yellowstonegames.smooth.VectorSequenceGlider
D
- Director<C> - Class in com.github.yellowstonegames.smooth
-
Handles multiple objects that are each associated with a
Glider, and allows starting and stopping the gliding animation for all of those objects at once. - Director(ObjToObjFunction) - Constructor for class com.github.yellowstonegames.smooth.Director
- Director(ObjToObjFunction, Iterable) - Constructor for class com.github.yellowstonegames.smooth.Director
- Director(ObjToObjFunction, Iterable, long) - Constructor for class com.github.yellowstonegames.smooth.Director
- dirty - Variable in class com.github.yellowstonegames.smooth.ParentSprite
- draw(Batch) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- draw(Batch, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- duration - Variable in class com.github.yellowstonegames.smooth.Director
- durations - Variable in class com.github.yellowstonegames.smooth.SequenceGlider
E
- elapsed - Variable in class com.github.yellowstonegames.smooth.Director
- EMPTY - Static variable in class com.github.yellowstonegames.smooth.VectorSequenceGlider
-
A VectorSequenceGlider that has no movements; useful as a default value.
- end - Variable in class com.github.yellowstonegames.smooth.CoordGlider
- end - Variable in class com.github.yellowstonegames.smooth.VectorGlider
- endF - Variable in class com.github.yellowstonegames.smooth.Glider.Changer
- endI - Variable in class com.github.yellowstonegames.smooth.Glider.Changer
- equals(Object) - Method in class com.github.yellowstonegames.smooth.Glider.Changer
- equals(Object) - Method in class com.github.yellowstonegames.smooth.Glider
- equals(Object) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- extractor - Variable in class com.github.yellowstonegames.smooth.Director
F
- flip(boolean, boolean) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
boolean parameters x,y are not setting a state, but performing a flip
- FloatGlider - Class in com.github.yellowstonegames.smooth
-
Allows specifying a smoothly-changing float value using any float for the start and the end, with a change amount that affects how far the value has changed from start to end.
- FloatGlider() - Constructor for class com.github.yellowstonegames.smooth.FloatGlider
- FloatGlider(float) - Constructor for class com.github.yellowstonegames.smooth.FloatGlider
- FloatGlider(float, float) - Constructor for class com.github.yellowstonegames.smooth.FloatGlider
- FloatSmoother - Interface in com.github.yellowstonegames.smooth
-
Allows using various ways of smoothly interpolating a float value to another float value as a first-class function.
G
- getAngle() - Method in class com.github.yellowstonegames.smooth.AngleGlider
- getAnimation() - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- getBoundingRectangle() - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Returns the bounding axis aligned
Rectanglethat bounds this sprite. - getChange() - Method in class com.github.yellowstonegames.smooth.Glider
- getColor() - Method in class com.github.yellowstonegames.smooth.IntColorGlider
-
Gets the current color value, which is different when
Glider.getChange()is. - getColor() - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Returns the color of this sprite.
- getCompleteRunner() - Method in class com.github.yellowstonegames.smooth.Glider
- getContainer() - Method in class com.github.yellowstonegames.smooth.Director
- getDuration() - Method in class com.github.yellowstonegames.smooth.Director
-
Gets the duration of each glide animation, in milliseconds.
- getEnd() - Method in class com.github.yellowstonegames.smooth.AngleGlider
- getEnd() - Method in class com.github.yellowstonegames.smooth.CoordGlider
- getEnd() - Method in class com.github.yellowstonegames.smooth.FloatGlider
- getEnd() - Method in class com.github.yellowstonegames.smooth.IntColorGlider
- getEnd() - Method in class com.github.yellowstonegames.smooth.VectorGlider
- getEndFloat(String) - Method in class com.github.yellowstonegames.smooth.Glider
-
Looks up the
end floatvalue for the Changer with the givenname. - getEndFloat(String) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- getEndInt(String) - Method in class com.github.yellowstonegames.smooth.Glider
-
Looks up the
end intvalue for the Changer with the givenname. - getEndInt(String) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- getFloat(String) - Method in class com.github.yellowstonegames.smooth.Glider
-
Gets the current float value for the Changer with the given
nameby interpolating between its start and end float values. - getFloat(String) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- getHeight() - Method in class com.github.yellowstonegames.smooth.ParentSprite
- getInt(String) - Method in class com.github.yellowstonegames.smooth.Glider
-
Gets the current int value for the Changer with the given
nameby interpolating between its start and end int values. - getInt(String) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- getInterpolation() - Method in class com.github.yellowstonegames.smooth.Glider
- getInterpolation() - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- getLocation() - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- getLocation() - Method in class com.github.yellowstonegames.smooth.GlidingSprite
- getName() - Method in class com.github.yellowstonegames.smooth.Glider.Changer
- getOriginX() - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
The origin influences
ParentSprite.setPosition(float, float),ParentSprite.setRotation(float)and the expansion direction of scalingParentSprite.setScale(float, float) - getOriginY() - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
The origin influences
ParentSprite.setPosition(float, float),ParentSprite.setRotation(float)and the expansion direction of scalingParentSprite.setScale(float, float) - getRotation() - Method in class com.github.yellowstonegames.smooth.ParentSprite
- getScaleX() - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
X scale of the sprite, independent of size set by
ParentSprite.setSize(float, float) - getScaleY() - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Y scale of the sprite, independent of size set by
ParentSprite.setSize(float, float) - getSmallMotion() - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- getSmallMotion() - Method in class com.github.yellowstonegames.smooth.GlidingSprite
- getStart() - Method in class com.github.yellowstonegames.smooth.AngleGlider
- getStart() - Method in class com.github.yellowstonegames.smooth.CoordGlider
- getStart() - Method in class com.github.yellowstonegames.smooth.FloatGlider
- getStart() - Method in class com.github.yellowstonegames.smooth.IntColorGlider
- getStart() - Method in class com.github.yellowstonegames.smooth.VectorGlider
- getStartFloat(String) - Method in class com.github.yellowstonegames.smooth.Glider
-
Looks up the
start floatvalue for the Changer with the givenname. - getStartFloat(String) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- getStartInt(String) - Method in class com.github.yellowstonegames.smooth.Glider
-
Looks up the
start intvalue for the Changer with the givenname. - getStartInt(String) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- getValue() - Method in class com.github.yellowstonegames.smooth.FloatGlider
- getVertices() - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- getVertices() - Method in class com.github.yellowstonegames.smooth.GlidingSprite
- getVertices() - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Returns the packed vertices, colors, and texture coordinates for this sprite.
- getWidth() - Method in class com.github.yellowstonegames.smooth.ParentSprite
- getX() - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- getX() - Method in class com.github.yellowstonegames.smooth.CoordGlider
- getX() - Method in class com.github.yellowstonegames.smooth.GlidingSprite
- getX() - Method in class com.github.yellowstonegames.smooth.ParentSprite
- getX() - Method in class com.github.yellowstonegames.smooth.VectorGlider
- getX() - Method in class com.github.yellowstonegames.smooth.VectorSequenceGlider
- getY() - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- getY() - Method in class com.github.yellowstonegames.smooth.CoordGlider
- getY() - Method in class com.github.yellowstonegames.smooth.GlidingSprite
- getY() - Method in class com.github.yellowstonegames.smooth.ParentSprite
- getY() - Method in class com.github.yellowstonegames.smooth.VectorGlider
- getY() - Method in class com.github.yellowstonegames.smooth.VectorSequenceGlider
- Glider - Class in com.github.yellowstonegames.smooth
-
A general-purpose group of smoothly-changing values, either float or int, using any rules for the smooth-movement interpolations (specifiable by
FloatSmootherandIntSmootherfunctions). - Glider() - Constructor for class com.github.yellowstonegames.smooth.Glider
- Glider(Interpolations.Interpolator, Glider.Changer) - Constructor for class com.github.yellowstonegames.smooth.Glider
- Glider(Interpolations.Interpolator, Glider.Changer...) - Constructor for class com.github.yellowstonegames.smooth.Glider
- Glider(Interpolations.Interpolator, Runnable, Glider.Changer) - Constructor for class com.github.yellowstonegames.smooth.Glider
- Glider(Interpolations.Interpolator, Runnable, Glider.Changer...) - Constructor for class com.github.yellowstonegames.smooth.Glider
- Glider(Glider) - Constructor for class com.github.yellowstonegames.smooth.Glider
- Glider(Glider.Changer) - Constructor for class com.github.yellowstonegames.smooth.Glider
- Glider(Glider.Changer...) - Constructor for class com.github.yellowstonegames.smooth.Glider
- Glider.Changer - Class in com.github.yellowstonegames.smooth
-
A named variable that can change either (or both) a float and/or an int value between start and end values.
- GlidingSprite - Class in com.github.yellowstonegames.smooth
- GlidingSprite(TextureRegion) - Constructor for class com.github.yellowstonegames.smooth.GlidingSprite
- GlidingSprite(TextureRegion, Coord) - Constructor for class com.github.yellowstonegames.smooth.GlidingSprite
- GlidingSprite(TextureRegion, Coord, Coord) - Constructor for class com.github.yellowstonegames.smooth.GlidingSprite
H
- hashCode() - Method in class com.github.yellowstonegames.smooth.Glider.Changer
- hashCode() - Method in class com.github.yellowstonegames.smooth.Glider
- hashCode() - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- height - Variable in class com.github.yellowstonegames.smooth.ParentSprite
I
- IntColorGlider - Class in com.github.yellowstonegames.smooth
-
Allows specifying a smoothly-changing color using an int-based color (often RGBA8888, but possibly produced by
DescriptiveColorand in Oklab space) for the start and the end, with a change amount that affects how far a color has been edited from start to end. - IntColorGlider() - Constructor for class com.github.yellowstonegames.smooth.IntColorGlider
-
Constructs an empty IntColorGlider that needs to have its
IntColorGlider.setStart(int)andIntColorGlider.setEnd(int)methods called before it can be meaningfully used. - IntColorGlider(int) - Constructor for class com.github.yellowstonegames.smooth.IntColorGlider
-
Creates an IntColorGlider that linear-interpolates the start color to fully transparent.
- IntColorGlider(int, int) - Constructor for class com.github.yellowstonegames.smooth.IntColorGlider
-
Creates an IntColorGlider that linear-interpolates the start color to the end color.
- IntColorGlider(int, int, Interpolations.Interpolator, Runnable) - Constructor for class com.github.yellowstonegames.smooth.IntColorGlider
-
Creates an IntColorGlider that interpolates the start color to the end color using the given Interpolator, and runs the given Runnable upon completion.
- IntColorGlider(int, int, Runnable) - Constructor for class com.github.yellowstonegames.smooth.IntColorGlider
-
Creates an IntColorGlider that linear-interpolates the start color to the end color, and runs the given Runnable upon completion.
- IntColorGlider(IntColorGlider) - Constructor for class com.github.yellowstonegames.smooth.IntColorGlider
- interpolation - Variable in class com.github.yellowstonegames.smooth.Glider
- interpolatorF - Variable in class com.github.yellowstonegames.smooth.Glider.Changer
- interpolatorI - Variable in class com.github.yellowstonegames.smooth.Glider.Changer
- IntSmoother - Interface in com.github.yellowstonegames.smooth
-
Allows using various ways of smoothly interpolating an int value to another int value as a first-class function.
- isPlaying() - Method in class com.github.yellowstonegames.smooth.Director
L
- LINEAR - Static variable in interface com.github.yellowstonegames.smooth.FloatSmoother
-
A method reference to
MathTools.lerp(float, float, float). - LINEAR - Static variable in interface com.github.yellowstonegames.smooth.IntSmoother
-
Interpolates between start and end by change using
MathUtils.lerp(float, float, float), then rounds the result to an int withMathUtils.round(float). - location - Variable in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- location - Variable in class com.github.yellowstonegames.smooth.GlidingSprite
M
- merge(Glider) - Method in class com.github.yellowstonegames.smooth.Glider
-
Adds all Changers in
otherto this Glider, and potentially changes therunnerso that it performs other's runner, if non-null, after this Glider's runner (or just run's other's if this has none).
N
- name - Variable in class com.github.yellowstonegames.smooth.Glider.Changer
O
- onComplete() - Method in class com.github.yellowstonegames.smooth.CoordGlider
- onComplete() - Method in class com.github.yellowstonegames.smooth.Glider
- onComplete() - Method in class com.github.yellowstonegames.smooth.VectorGlider
- originX - Variable in class com.github.yellowstonegames.smooth.ParentSprite
- originY - Variable in class com.github.yellowstonegames.smooth.ParentSprite
- ownEmptyMotion - Variable in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
-
A VectorSequenceGlider that is empty (has no motions) and belongs to this AnimatedGlidingSprite.
- ownEmptyMotion - Variable in class com.github.yellowstonegames.smooth.GlidingSprite
-
A VectorSequenceGlider that is empty (has no motions) and belongs to this AnimatedGlidingSprite.
P
- ParentSprite - Class in com.github.yellowstonegames.smooth
-
Holds the geometry, color, and texture information for drawing 2D sprites using
Batch. - ParentSprite() - Constructor for class com.github.yellowstonegames.smooth.ParentSprite
-
Creates an uninitialized sprite.
- ParentSprite(TextureRegion) - Constructor for class com.github.yellowstonegames.smooth.ParentSprite
-
Creates a sprite based on a specific TextureRegion, the new sprite's region is a copy of the parameter region - altering one does not affect the other
- ParentSprite(TextureRegion, int, int, int, int) - Constructor for class com.github.yellowstonegames.smooth.ParentSprite
-
Creates a sprite with width, height, and texture region equal to the specified size, relative to specified sprite's texture region.
- ParentSprite(Texture) - Constructor for class com.github.yellowstonegames.smooth.ParentSprite
-
Creates a sprite with width, height, and texture region equal to the size of the texture.
- ParentSprite(Texture, int, int) - Constructor for class com.github.yellowstonegames.smooth.ParentSprite
-
Creates a sprite with width, height, and texture region equal to the specified size.
- ParentSprite(Texture, int, int, int, int) - Constructor for class com.github.yellowstonegames.smooth.ParentSprite
-
Creates a sprite with width, height, and texture region equal to the specified size.
- ParentSprite(ParentSprite) - Constructor for class com.github.yellowstonegames.smooth.ParentSprite
-
Creates a sprite that is a copy in every way of the specified sprite.
- passed - Variable in class com.github.yellowstonegames.smooth.SequenceGlider
- pause() - Method in class com.github.yellowstonegames.smooth.Director
- play() - Method in class com.github.yellowstonegames.smooth.Director
- playing - Variable in class com.github.yellowstonegames.smooth.Director
- playTime - Variable in class com.github.yellowstonegames.smooth.Director
R
- randomUnit(Vector2, EnhancedRandom) - Static method in class com.github.yellowstonegames.smooth.VectorTools
-
Generates one random int and uses it as an angle to fill receiving's x and y with a position on the unit circle.
- recreateFromString(String) - Static method in class com.github.yellowstonegames.smooth.VectorTools
-
Deserializes a Vector2 from the given String using
VectorTools.stringDeserialize(String, Vector2), allocating a new Vector2 that this returns. - removeChanger(String) - Method in class com.github.yellowstonegames.smooth.Glider
- resetToCurrent() - Method in class com.github.yellowstonegames.smooth.Glider
- rotate(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the sprite's rotation in degrees relative to the current rotation.
- rotate90(boolean) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Rotates this sprite 90 degrees in-place by rotating the texture coordinates.
- rotation - Variable in class com.github.yellowstonegames.smooth.ParentSprite
S
- scale(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the sprite's scale relative to the current scale.
- scaleX - Variable in class com.github.yellowstonegames.smooth.ParentSprite
- scaleY - Variable in class com.github.yellowstonegames.smooth.ParentSprite
- scroll(float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- sequence - Variable in class com.github.yellowstonegames.smooth.SequenceGlider
- SequenceGlider - Class in com.github.yellowstonegames.smooth
-
Runs more than one Glider in a sequence.
- SequenceGlider() - Constructor for class com.github.yellowstonegames.smooth.SequenceGlider
- SequenceGlider(Glider[], float[]) - Constructor for class com.github.yellowstonegames.smooth.SequenceGlider
- SequenceGlider(Glider[], float[], Interpolations.Interpolator, Runnable) - Constructor for class com.github.yellowstonegames.smooth.SequenceGlider
- serializeString(Vector2) - Static method in class com.github.yellowstonegames.smooth.VectorTools
-
Serializes the given Vector2 and returns it as a new String.
- set(ParentSprite) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Make this sprite a copy in every way of the specified sprite
- setAlpha(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the alpha portion of the color used to tint this sprite.
- setAnimation(Animation) - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- setBounds(float, float, float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the position and size of the sprite when drawn, before scaling and rotation are applied.
- setCenter(float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the position so that the sprite is centered on (x, y)
- setCenterX(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the x position so that it is centered on the given x parameter
- setCenterY(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the y position so that it is centered on the given y parameter
- setChange(float) - Method in class com.github.yellowstonegames.smooth.Glider
- setChange(float) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- setColor(float, float, float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- setColor(Color) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the color used to tint this sprite.
- setCompleteRunner(Runnable) - Method in class com.github.yellowstonegames.smooth.Glider
- setContainer(Iterable) - Method in class com.github.yellowstonegames.smooth.Director
- setDuration(long) - Method in class com.github.yellowstonegames.smooth.Director
-
Sets the duration of each glide, in milliseconds, and if the duration changed, calls
Director.stop(). - setEnd(float) - Method in class com.github.yellowstonegames.smooth.AngleGlider
- setEnd(float) - Method in class com.github.yellowstonegames.smooth.FloatGlider
- setEnd(int) - Method in class com.github.yellowstonegames.smooth.IntColorGlider
- setEnd(Vector2) - Method in class com.github.yellowstonegames.smooth.VectorGlider
- setEnd(Coord) - Method in class com.github.yellowstonegames.smooth.CoordGlider
- setEndFloat(String, float) - Method in class com.github.yellowstonegames.smooth.Glider
- setEndFloat(String, float) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- setEndInt(String, int) - Method in class com.github.yellowstonegames.smooth.Glider
- setEndInt(String, int) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- setFlip(boolean, boolean) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Set the sprite's flip state regardless of current condition
- setInterpolation(Interpolations.Interpolator) - Method in class com.github.yellowstonegames.smooth.Glider
- setInterpolation(Interpolations.Interpolator) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- setLocation(CoordGlider) - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- setLocation(CoordGlider) - Method in class com.github.yellowstonegames.smooth.GlidingSprite
- setOrigin(float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the origin in relation to the sprite's position for scaling and rotation.
- setOriginBasedPosition(float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the position where the sprite will be drawn, relative to its current origin.
- setOriginCenter() - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Place origin in the center of the sprite
- setPackedColor(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the color of this sprite, expanding the alpha from 0-254 to 0-255.
- setPosition(float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the position where the sprite will be drawn.
- setRegion(float, float, float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- setRotation(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the rotation of the sprite in degrees.
- setScale(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the sprite's scale for both X and Y uniformly.
- setScale(float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the sprite's scale for both X and Y.
- setSize(float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the size of the sprite when drawn, before scaling and rotation are applied.
- setSmallMotion(VectorSequenceGlider) - Method in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- setSmallMotion(VectorSequenceGlider) - Method in class com.github.yellowstonegames.smooth.GlidingSprite
- setStart(float) - Method in class com.github.yellowstonegames.smooth.AngleGlider
- setStart(float) - Method in class com.github.yellowstonegames.smooth.FloatGlider
- setStart(int) - Method in class com.github.yellowstonegames.smooth.IntColorGlider
- setStart(Vector2) - Method in class com.github.yellowstonegames.smooth.VectorGlider
- setStart(Coord) - Method in class com.github.yellowstonegames.smooth.CoordGlider
- setStartFloat(String, float) - Method in class com.github.yellowstonegames.smooth.Glider
- setStartFloat(String, float) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- setStartInt(String, int) - Method in class com.github.yellowstonegames.smooth.Glider
- setStartInt(String, int) - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- setU(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- setU2(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- setV(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- setV2(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
- setX(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the x position where the sprite will be drawn.
- setY(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the y position where the sprite will be drawn.
- smallMotion - Variable in class com.github.yellowstonegames.smooth.AnimatedGlidingSprite
- smallMotion - Variable in class com.github.yellowstonegames.smooth.GlidingSprite
- SPRITE_SIZE - Static variable in class com.github.yellowstonegames.smooth.ParentSprite
- start - Variable in class com.github.yellowstonegames.smooth.CoordGlider
- start - Variable in class com.github.yellowstonegames.smooth.VectorGlider
- startF - Variable in class com.github.yellowstonegames.smooth.Glider.Changer
- startI - Variable in class com.github.yellowstonegames.smooth.Glider.Changer
- step() - Method in class com.github.yellowstonegames.smooth.Director
- stop() - Method in class com.github.yellowstonegames.smooth.Director
- stringDeserialize(String, Vector2) - Static method in class com.github.yellowstonegames.smooth.VectorTools
-
Deserializes the given String to get the values this assigns to the Vector2
receiving.
T
- toString() - Method in class com.github.yellowstonegames.smooth.SequenceGlider
- toString() - Method in class com.github.yellowstonegames.smooth.VectorGlider
- translate(float, float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the position relative to the current position where the sprite will be drawn.
- translateX(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the x position relative to the current position where the sprite will be drawn.
- translateY(float) - Method in class com.github.yellowstonegames.smooth.ParentSprite
-
Sets the y position relative to the current position where the sprite will be drawn.
V
- VectorGlider - Class in com.github.yellowstonegames.smooth
-
Allows specifying a smoothly-changing float position using a libGDX Vector2 for the start and the end, with a change amount that affects how far a position has moved from start to end.
- VectorGlider() - Constructor for class com.github.yellowstonegames.smooth.VectorGlider
- VectorGlider(Vector2) - Constructor for class com.github.yellowstonegames.smooth.VectorGlider
-
Assigns
Vector2.Zerointo start and end into end; does not continue to use the reference to the parameter end, or Zero. - VectorGlider(Vector2, Vector2) - Constructor for class com.github.yellowstonegames.smooth.VectorGlider
-
Copies start into start and end into end; does not continue to use references to the parameters.
- VectorGlider(Vector2, Vector2, Interpolations.Interpolator, Runnable) - Constructor for class com.github.yellowstonegames.smooth.VectorGlider
-
Copies start into start and end into end; does not continue to use references to the parameters.
- VectorGlider(Glider) - Constructor for class com.github.yellowstonegames.smooth.VectorGlider
- VectorGlider(VectorGlider) - Constructor for class com.github.yellowstonegames.smooth.VectorGlider
- VectorSequenceGlider - Class in com.github.yellowstonegames.smooth
-
Very experimental; allows chaining a sequence of VectorGlider movements.
- VectorSequenceGlider() - Constructor for class com.github.yellowstonegames.smooth.VectorSequenceGlider
- VectorSequenceGlider(VectorGlider[], float[]) - Constructor for class com.github.yellowstonegames.smooth.VectorSequenceGlider
- VectorSequenceGlider(VectorSequenceGlider) - Constructor for class com.github.yellowstonegames.smooth.VectorSequenceGlider
- VectorTools - Class in com.github.yellowstonegames.smooth
-
Utilities for handling floating-point positions, to be added to as needed.
- VectorTools() - Constructor for class com.github.yellowstonegames.smooth.VectorTools
- VERTEX_SIZE - Static variable in class com.github.yellowstonegames.smooth.ParentSprite
- vertices - Variable in class com.github.yellowstonegames.smooth.ParentSprite
W
- width - Variable in class com.github.yellowstonegames.smooth.ParentSprite
- wrapped - Variable in class com.github.yellowstonegames.smooth.WrapperInterpolation
- WrapperInterpolation - Class in com.github.yellowstonegames.smooth
-
A simple wrapper around a digital
Interpolations.Interpolatorso it can act as a libGDXInterpolation. - WrapperInterpolation() - Constructor for class com.github.yellowstonegames.smooth.WrapperInterpolation
- WrapperInterpolation(Interpolations.Interpolator) - Constructor for class com.github.yellowstonegames.smooth.WrapperInterpolation
X
- x - Variable in class com.github.yellowstonegames.smooth.ParentSprite
Y
- y - Variable in class com.github.yellowstonegames.smooth.ParentSprite
All Classes and Interfaces|All Packages|Constant Field Values