C# Class PunkX.Tweener

Updateable Tween container.
Afficher le fichier Open project: RichardMarks/PunkX

Méthodes publiques

Свойство Type Description
active System.Boolean
autoClear System.Boolean

Méthodes publiques

Méthode Description
Tweener ( ) : System

Constructor.

addTween ( Tween t, System.Boolean start = false ) : Tween

Adds a new Tween.

clearTweens ( ) : void

Removes all Tweens.

removeTween ( Tween t ) : Tween

Removes a Tween.

update ( ) : void

Updates the Tween container.

updateTweens ( ) : void

Updates all contained tweens.

Method Details

Tweener() public méthode

Constructor.
public Tweener ( ) : System
Résultat System

addTween() public méthode

Adds a new Tween.
public addTween ( Tween t, System.Boolean start = false ) : Tween
t Tween The Tween to add.
start System.Boolean If the Tween should call start() immediately.
Résultat Tween

clearTweens() public méthode

Removes all Tweens.
public clearTweens ( ) : void
Résultat void

removeTween() public méthode

Removes a Tween.
public removeTween ( Tween t ) : Tween
t Tween The Tween to remove.
Résultat Tween

update() public méthode

Updates the Tween container.
public update ( ) : void
Résultat void

updateTweens() public méthode

Updates all contained tweens.
public updateTweens ( ) : void
Résultat void

Property Details

active public_oe property

If the Tweener should update.
public Boolean,System active
Résultat System.Boolean

autoClear public_oe property

If the Tweener should clear on removal. For Entities, this is when they are removed from a World, and for World this is when the active World is switched.
public Boolean,System autoClear
Résultat System.Boolean