C# 클래스 GPSTD_RM.AnimatedSprite

This class represents a set of animation loops.
파일 보기 프로젝트 열기: dideler/gps-tower-defense 1 사용 예제들

공개 메소드들

메소드 설명
AnimatedSprite ( AnimationLoop loops ) : System

Create a sprite with an array of loops.

GetLoop ( string loopName ) : AnimationLoop

Returns the animation loop that matches up with the loop name.

SpriteFromFile ( string filename, GraphicsDevice gDev ) : AnimatedSprite

Read a file that specifies each of the animation loops.

메소드 상세

AnimatedSprite() 공개 메소드

Create a sprite with an array of loops.
public AnimatedSprite ( AnimationLoop loops ) : System
loops AnimationLoop An array of loops.
리턴 System

GetLoop() 공개 메소드

Returns the animation loop that matches up with the loop name.
public GetLoop ( string loopName ) : AnimationLoop
loopName string The loop you're looking for.
리턴 AnimationLoop

SpriteFromFile() 공개 정적인 메소드

Read a file that specifies each of the animation loops.
public static SpriteFromFile ( string filename, GraphicsDevice gDev ) : AnimatedSprite
filename string The file specifying the sprite.
gDev GraphicsDevice
리턴 AnimatedSprite