C# 클래스 Platformer.AnimationPlayer

파일 보기 프로젝트 열기: zmthy/play-dead 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( GameTime gameTime, SpriteBatch spriteBatch, Vector2 position, SpriteEffects spriteEffects ) : void

Advances the time position and draws the current frame of the animation.

Pause ( ) : void
PlayAnimation ( Animation animation ) : void

Begins or continues playback of an animation.

메소드 상세

Draw() 공개 메소드

Advances the time position and draws the current frame of the animation.
public Draw ( GameTime gameTime, SpriteBatch spriteBatch, Vector2 position, SpriteEffects spriteEffects ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
position Vector2
spriteEffects SpriteEffects
리턴 void

Pause() 공개 메소드

public Pause ( ) : void
리턴 void

PlayAnimation() 공개 메소드

Begins or continues playback of an animation.
public PlayAnimation ( Animation animation ) : void
animation Animation
리턴 void