C# Class PunkX.Tweener

Updateable Tween container.
Mostrar archivo Open project: RichardMarks/PunkX

Public Properties

Property Type Description
active System.Boolean
autoClear System.Boolean

Public Methods

Method 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 method

Constructor.
public Tweener ( ) : System
return System

addTween() public method

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.
return Tween

clearTweens() public method

Removes all Tweens.
public clearTweens ( ) : void
return void

removeTween() public method

Removes a Tween.
public removeTween ( Tween t ) : Tween
t Tween The Tween to remove.
return Tween

update() public method

Updates the Tween container.
public update ( ) : void
return void

updateTweens() public method

Updates all contained tweens.
public updateTweens ( ) : void
return void

Property Details

active public_oe property

If the Tweener should update.
public Boolean,System active
return 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
return System.Boolean