C# 클래스 PunkX.Tweener

Updateable Tween container.
파일 보기 프로젝트 열기: RichardMarks/PunkX

공개 프로퍼티들

프로퍼티 타입 설명
active System.Boolean
autoClear System.Boolean

공개 메소드들

메소드 설명
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.

메소드 상세

Tweener() 공개 메소드

Constructor.
public Tweener ( ) : System
리턴 System

addTween() 공개 메소드

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.
리턴 Tween

clearTweens() 공개 메소드

Removes all Tweens.
public clearTweens ( ) : void
리턴 void

removeTween() 공개 메소드

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

update() 공개 메소드

Updates the Tween container.
public update ( ) : void
리턴 void

updateTweens() 공개 메소드

Updates all contained tweens.
public updateTweens ( ) : void
리턴 void

프로퍼티 상세

active 공개적으로 프로퍼티

If the Tweener should update.
public Boolean,System active
리턴 System.Boolean

autoClear 공개적으로 프로퍼티

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
리턴 System.Boolean