C# 클래스 SKSpriteAnimation, SpriteKit

파일 보기 프로젝트 열기: prime31/SpriteKit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
delay float
iterations int

공개 메소드들

메소드 설명
SKSpriteAnimation ( SKSprite, sprite ) : System.Collections
pause ( ) : void
play ( ) : void
playForward ( ) : void
playReverse ( ) : void
restart ( ) : void
reverse ( ) : void
stop ( ) : void
tick ( float deltaTime ) : bool

tick method. if it returns true it indicates the animation is complete

비공개 메소드들

메소드 설명
initializeStateValues ( ) : void

메소드 상세

SKSpriteAnimation() 공개 메소드

public SKSpriteAnimation ( SKSprite, sprite ) : System.Collections
sprite SKSprite,
리턴 System.Collections

pause() 공개 메소드

public pause ( ) : void
리턴 void

play() 공개 메소드

public play ( ) : void
리턴 void

playForward() 공개 메소드

public playForward ( ) : void
리턴 void

playReverse() 공개 메소드

public playReverse ( ) : void
리턴 void

restart() 공개 메소드

public restart ( ) : void
리턴 void

reverse() 공개 메소드

public reverse ( ) : void
리턴 void

stop() 공개 메소드

public stop ( ) : void
리턴 void

tick() 공개 메소드

tick method. if it returns true it indicates the animation is complete
public tick ( float deltaTime ) : bool
deltaTime float
리턴 bool

프로퍼티 상세

delay 공개적으로 프로퍼티

public float delay
리턴 float

iterations 공개적으로 프로퍼티

public int iterations
리턴 int