C# 클래스 Starwar.Sprites.AnimatedSprite

상속: Sprite
파일 보기 프로젝트 열기: daxnet/Starwar

공개 메소드들

메소드 설명
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, SpriteSheet spriteSheet, System.TimeSpan animatedSpeed, int times = -1 ) : System
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
GetSourceRect ( ) : Rectangle

메소드 상세

AnimatedSprite() 공개 메소드

public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, SpriteSheet spriteSheet, System.TimeSpan animatedSpeed, int times = -1 ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
spriteSheet SpriteSheet
animatedSpeed System.TimeSpan
times int
리턴 System

Draw() 공개 메소드

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

Update() 공개 메소드

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