C# 클래스 flxSharp.flxSharp.System.FlxAnim

Just a helper structure for the FlxSprite animation system.
파일 보기 프로젝트 열기: jlorek/flxSharp 1 사용 예제들

공개 메소드들

메소드 설명
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