C# Class AngryTanks.Client.AnimatedSprite

Inheritance: AngryTanks.Client.StaticSprite
Afficher le fichier Open project: dvicory/AngryTanks Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat System

AnimatedSprite() public méthode

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
Résultat System

Draw() public méthode

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

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void