C# Class SKSpriteAnimation, SpriteKit

Show file Open project: prime31/SpriteKit Class Usage Examples

Public Properties

Property Type Description
delay float
iterations int

Public Methods

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

Private Methods

Method Description
initializeStateValues ( ) : void

Method Details

SKSpriteAnimation() public method

public SKSpriteAnimation ( SKSprite, sprite ) : System.Collections
sprite SKSprite,
return System.Collections

pause() public method

public pause ( ) : void
return void

play() public method

public play ( ) : void
return void

playForward() public method

public playForward ( ) : void
return void

playReverse() public method

public playReverse ( ) : void
return void

restart() public method

public restart ( ) : void
return void

reverse() public method

public reverse ( ) : void
return void

stop() public method

public stop ( ) : void
return void

tick() public method

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

Property Details

delay public property

public float delay
return float

iterations public property

public int iterations
return int