C# 클래스 SpriterBetaRuntime.SpriterCharacter

Logic for Spriter character This class is responsible for updating and drawing each spriter character
파일 보기 프로젝트 열기: schmelze/SpriterXNA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FlipX bool
FlipY bool

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void

Draw the character

SpriterCharacter ( SpriterCharacterData animationData ) : System

Construct a new spriter character

Update ( GameTime time ) : void

Update the character's animation frames

메소드 상세

Draw() 공개 메소드

Draw the character
public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch spritebatch to use for drawing
리턴 void

SpriterCharacter() 공개 메소드

Construct a new spriter character
public SpriterCharacter ( SpriterCharacterData animationData ) : System
animationData SpriterCharacterData Character animation data, loaded from a SCML file
리턴 System

Update() 공개 메소드

Update the character's animation frames
public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime gametime since the last call to update
리턴 void

프로퍼티 상세

FlipX 공개적으로 프로퍼티

public bool FlipX
리턴 bool

FlipY 공개적으로 프로퍼티

public bool FlipY
리턴 bool