C# Class AngryTanks.Client.AnimatedSprite

Inheritance: AngryTanks.Client.StaticSprite
Show file Open project: dvicory/AngryTanks Class Usage Examples

Public Methods

Method Description
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

Method Details

AnimatedSprite() public method

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
return System

AnimatedSprite() public method

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
return System

Draw() public method

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

Update() public method

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