C# 클래스 hyades.utils.InterpolatorCollection

A managed collection of interpolators.
파일 보기 프로젝트 열기: zfedoran/bubblebound 1 사용 예제들

공개 메소드들

메소드 설명
Create ( float start, float end, Action step, Action completed ) : Interpolator

Creates a new Interpolator.

Create ( float start, float end, float length, Action step, Action completed ) : Interpolator

Creates a new Interpolator.

GetInstance ( ) : InterpolatorCollection
Update ( double elapsed ) : void

Updates all active Interpolators in the collection.

비공개 메소드들

메소드 설명
InterpolatorCollection ( ) : System

메소드 상세

Create() 공개 메소드

Creates a new Interpolator.
public Create ( float start, float end, Action step, Action completed ) : Interpolator
start float The starting value.
end float The ending value.
step Action An optional callback to invoke when the Interpolator is updated.
completed Action An optional callback to invoke when the Interpolator completes.
리턴 Interpolator

Create() 공개 메소드

Creates a new Interpolator.
public Create ( float start, float end, float length, Action step, Action completed ) : Interpolator
start float The starting value.
end float The ending value.
length float The length of time, in seconds, to perform the interpolation.
step Action An optional callback to invoke when the Interpolator is updated.
completed Action An optional callback to invoke when the Interpolator completes.
리턴 Interpolator

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : InterpolatorCollection
리턴 InterpolatorCollection

Update() 공개 메소드

Updates all active Interpolators in the collection.
public Update ( double elapsed ) : void
elapsed double
리턴 void