C# Class flxSharp.flxSharp.System.FlxAnim

Just a helper structure for the FlxSprite animation system.
Afficher le fichier Open project: jlorek/flxSharp Class Usage Examples

Méthodes publiques

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

Constructor.

destroy ( ) : void

Clean up memory.

Method Details

FlxAnim() public méthode

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
Résultat System

destroy() public méthode

Clean up memory.
public destroy ( ) : void
Résultat void