Function used by the group to know what time is it. Used to calculate the deltaTime in case you call update without the parameter.
Static
sharedA tween without an explicit group will default to this shared static one.
A paused group will skip updating all the asociated tweens. To control all tweens, use getAll to get an array with all tweens.
returns true if this group is paused.
Pauses this group. If a group was already paused, this has no effect. A paused group will skip updating all the asociated tweens. To control all tweens, use getAll to get an array with all tweens.
Resumes this group. If a group was not paused, this has no effect. A paused group will skip updating all the asociated tweens. To control all tweens, use getAll to get an array with all tweens.
Updates all the tweens in this group.
If a tween is stopped, paused, finished or non started it will be removed from the group.
Tweens are updated in "batches". If you add a new tween during an update, then the new tween will be updated in the next batch. If you remove a tween during an update, it may or may not be updated. However, if the removed tween was added during the current batch, then it will not be updated.
returns true if the group is not empty and it is not paused.
Optional
deltaTime: numberAmount of miliseconds that have passed since last excecution. If not provided it will be calculated using the now function
Prevent the removal of stopped, paused, finished or non started tweens.
Generated using TypeDoc
A group is a class that allows you to manage many tweens from one place.
A tween will ALWAYS belong to a group. If no group is assigned it will default to the static shared group:
Group.shared
.