public class JamOperationFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static TweenPosOperation |
moveBetween(float x1,
float y1,
float x2,
float y2,
float duration)
Linear tween for Pos.
|
static TweenPosOperation |
moveBetween(float x1,
float y1,
float x2,
float y2,
float duration,
com.badlogic.gdx.math.Interpolation interpolation)
Linear tween for Pos.
|
static TweenPosOperation |
moveBetween(Pos from,
Pos to,
float duration)
Linear tween for Pos.
|
static TweenPosOperation |
moveBetween(Pos from,
Pos to,
float duration,
com.badlogic.gdx.math.Interpolation interpolation)
Linear tween for Pos.
|
static TweenPosOperation |
moveBetween(com.badlogic.gdx.math.Vector2 from,
com.badlogic.gdx.math.Vector2 to,
float duration)
Linear tween for Pos.
|
static TweenPosOperation |
moveBetween(com.badlogic.gdx.math.Vector2 from,
com.badlogic.gdx.math.Vector2 to,
float duration,
com.badlogic.gdx.math.Interpolation interpolation)
Linear tween for Pos.
|
static SetPosOperation |
moveTo(float x,
float y)
Instantly move to coords.
|
static SetPosOperation |
moveTo(Pos pos)
Instantly move to coords
Pos. |
static SetPosOperation |
moveTo(com.badlogic.gdx.math.Vector2 v)
Instantly move to coords
Pos. |
static TweenScaleOperation |
scaleBetween(float from,
float to,
float duration)
Linear scale between pos.
|
static TweenScaleOperation |
scaleBetween(float from,
float to,
float duration,
com.badlogic.gdx.math.Interpolation interpolation)
Linear scale between pos.
|
static SetScaleOperation |
scaleTo(float scale)
Instantly scale to coords
Pos. |
static TweenTintOperation |
tintBetween(Tint from,
Tint to,
float duration)
Linear tween for tint (color).
|
static TweenTintOperation |
tintBetween(Tint from,
Tint to,
float duration,
com.badlogic.gdx.math.Interpolation interpolation)
Tween for tint (color).
|
static SetTintOperation |
tintTo(Tint to)
Set tint.
|
public static TweenPosOperation moveBetween(float x1, float y1, float x2, float y2, float duration)
x1 - start Xy1 - start Yx2 - end Xy2 - end Yduration - duration of tween, in seconds.public static TweenPosOperation moveBetween(com.badlogic.gdx.math.Vector2 from, com.badlogic.gdx.math.Vector2 to, float duration)
from - startto - endduration - duration of tween, in seconds.public static TweenPosOperation moveBetween(Pos from, Pos to, float duration)
from - startto - endduration - duration of tween, in seconds.public static TweenPosOperation moveBetween(float x1, float y1, float x2, float y2, float duration, com.badlogic.gdx.math.Interpolation interpolation)
x1 - start Xy1 - start Yx2 - end Xy2 - end Yduration - duration of tween, in seconds.interpolation - method of interpolation.public static TweenPosOperation moveBetween(com.badlogic.gdx.math.Vector2 from, com.badlogic.gdx.math.Vector2 to, float duration, com.badlogic.gdx.math.Interpolation interpolation)
from - startto - endduration - duration of tween, in seconds.interpolation - method of interpolation.public static TweenPosOperation moveBetween(Pos from, Pos to, float duration, com.badlogic.gdx.math.Interpolation interpolation)
from - startto - endduration - duration of tween, in seconds.interpolation - method of interpolation.public static SetPosOperation moveTo(float x, float y)
public static SetPosOperation moveTo(Pos pos)
Pos.public static SetPosOperation moveTo(com.badlogic.gdx.math.Vector2 v)
Pos.public static TweenScaleOperation scaleBetween(float from, float to, float duration, com.badlogic.gdx.math.Interpolation interpolation)
from - start scaleto - end scaleduration - duration of tween, in seconds.interpolation - method of interpolation.public static TweenScaleOperation scaleBetween(float from, float to, float duration)
from - start scaleto - end scaleduration - duration of tween, in seconds.public static SetScaleOperation scaleTo(float scale)
Pos.public static SetTintOperation tintTo(Tint to)
to - endpublic static TweenTintOperation tintBetween(Tint from, Tint to, float duration)
from - startto - endduration - duration of tween, in seconds.public static TweenTintOperation tintBetween(Tint from, Tint to, float duration, com.badlogic.gdx.math.Interpolation interpolation)
from - startto - endduration - duration of tween, in seconds.interpolation - method of interpolation.Copyright © 2017. All rights reserved.