C# Class flxSharp.flxSharp.System.FlxAnim

Just a helper structure for the FlxSprite animation system.
Mostrar archivo Open project: jlorek/flxSharp Class Usage Examples

Public Methods

Method Description
FlxAnim ( String name, int frames, float frameRate, System.Boolean looped ) : System

Constructor.

destroy ( ) : void

Clean up memory.

Method Details

FlxAnim() public method

Constructor.
public FlxAnim ( String name, int frames, float frameRate, System.Boolean looped ) : System
name String What this animation should be called (e.g. "run").
frames int An array of numbers indicating what frames to play in what order (e.g. 0, 1, 2, 3).
frameRate float The speed in frames per second that the animation should play at (e.g. 40).
looped System.Boolean Whether or not the animation is looped or just plays once
return System

destroy() public method

Clean up memory.
public destroy ( ) : void
return void