Bandidos
|
Static Public Member Functions | |
static EngineTween | startTween (Tween tween, int channel) |
static Timeline | startTimeline (Timeline timeLine, int channel) |
static TweenManager | getTweenManager (int channel) |
static void | updateTweenEngine (float unScaledDeltaTime, float timeScale) |
Static Public Attributes | |
static final int | GAME_TIME_CHANNEL = 0 |
static final int | REAL_TIME_CHANNEL = 1 |
This class keeps track of all the different kinds of TweenManager classes which are needed in the project. It generates the TweenManager channels which are not active. It also creates EngineTween instances for tweens and puts them on the given channel. Note: The TweenManagers must be manually updated!
|
static |
Gets a TweenManager which represetns the given channel. If there is no TweenManager which represents the channel, then the TweenManger is automatically created.
channel | to get a TweenManager for |
|
static |
Starts a Timeline on the given channel and returns it.
timeline | to start through the Engine. |
channel | to start the timeline on |
|
static |
Starts a Tween on the given channel and returns an EngineTween which represents the started tween.
tween | to start through the Engine and to create an EngineTween for |
channel | to start the tween on |
|
static |
Updates the tween engine including all the tween channels. NOTE: This must be called every frame in order for the EngineTweener to work!
unScaledDeltaTime | is the value of the delta time without any time scale affecting it. |
timeScale | is the time scale which should be affecting the Delta Time |
|
static |
|
static |