C# 클래스 CarpMuffin.Sprites.AnimatedSprite

Displays an animated image on the screen
상속: Sprite
파일 보기 프로젝트 열기: BetaToast/CarpMuffin

공개 메소드들

메소드 설명
AnimatedSprite ( SpriteSheet spriteSheet, int frameCount, int frameLength ) : System
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 size, int frameCount, int frameLength ) : System
Draw ( SpriteBatch spriteBatch ) : void
Pause ( ) : void
ResetTimer ( int frameLength ) : void
Resume ( ) : void
Start ( ) : void
Stop ( ) : void
Update ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
Tick ( Timer timer ) : void

메소드 상세

AnimatedSprite() 공개 메소드

public AnimatedSprite ( SpriteSheet spriteSheet, int frameCount, int frameLength ) : System
spriteSheet SpriteSheet
frameCount int
frameLength int
리턴 System

AnimatedSprite() 공개 메소드

public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 size, int frameCount, int frameLength ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
size Vector2
frameCount int
frameLength int
리턴 System

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

Pause() 공개 메소드

public Pause ( ) : void
리턴 void

ResetTimer() 공개 메소드

public ResetTimer ( int frameLength ) : void
frameLength int
리턴 void

Resume() 공개 메소드

public Resume ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

Tick() 보호된 메소드

protected Tick ( Timer timer ) : void
timer CarpMuffin.Timers.Timer
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void