C# 클래스 MyPolarBear.Content.Animator

파일 보기 프로젝트 열기: sgdc/sgdc-old 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Animations Animation>.Dictionary
CurrentAnimation String

공개 메소드들

메소드 설명
Animator ( ) : System
Draw ( SpriteBatch spriteBatch, Vector2 position, Vector2 scale, Color tint, float rot, Vector2 orig, float layer ) : void
PlayAnimation ( String animation, bool bRestart ) : void

메소드 상세

Animator() 공개 메소드

public Animator ( ) : System
리턴 System

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch, Vector2 position, Vector2 scale, Color tint, float rot, Vector2 orig, float layer ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
position Vector2
scale Vector2
tint Color
rot float
orig Vector2
layer float
리턴 void

PlayAnimation() 공개 메소드

public PlayAnimation ( String animation, bool bRestart ) : void
animation String
bRestart bool
리턴 void

프로퍼티 상세

Animations 공개적으로 프로퍼티

public Dictionary Animations
리턴 Animation>.Dictionary

CurrentAnimation 공개적으로 프로퍼티

public String CurrentAnimation
리턴 String