C# Класс flxSharp.flxSharp.System.FlxAnim

Just a helper structure for the FlxSprite animation system.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FlxAnim ( String name, int frames, float frameRate, System.Boolean looped ) : System

Constructor.

destroy ( ) : void

Clean up memory.

Описание методов

FlxAnim() публичный Метод

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
Результат System

destroy() публичный Метод

Clean up memory.
public destroy ( ) : void
Результат void