C# 클래스 AngryTanks.Client.AnimatedSprite

상속: AngryTanks.Client.StaticSprite
파일 보기 프로젝트 열기: dvicory/AngryTanks 1 사용 예제들

공개 메소드들

메소드 설명
AnimatedSprite ( AngryTanks.Client.World world, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 size, System.Single rotation, Color color, Point maxFrames, Point frameSize, SpriteSheetDirection direction, bool loop ) : System
AnimatedSprite ( AngryTanks.Client.World world, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 size, System.Single rotation, Point maxFrames, Point frameSize, SpriteSheetDirection direction, bool loop ) : System
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Update ( GameTime gameTime ) : void

메소드 상세

AnimatedSprite() 공개 메소드

public AnimatedSprite ( AngryTanks.Client.World world, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 size, System.Single rotation, Color color, Point maxFrames, Point frameSize, SpriteSheetDirection direction, bool loop ) : System
world AngryTanks.Client.World
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
size Vector2
rotation System.Single
color Color
maxFrames Point
frameSize Point
direction SpriteSheetDirection
loop bool
리턴 System

AnimatedSprite() 공개 메소드

public AnimatedSprite ( AngryTanks.Client.World world, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 size, System.Single rotation, Point maxFrames, Point frameSize, SpriteSheetDirection direction, bool loop ) : System
world AngryTanks.Client.World
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
size Vector2
rotation System.Single
maxFrames Point
frameSize Point
direction SpriteSheetDirection
loop bool
리턴 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