C# Class FBClient.Sprites.AnimatedSprite

Show file Open project: Noxalus/Final-Bomber Class Usage Examples

Public Methods

Method Description
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, Animation animation ) : System.Collections.Generic
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, Animation>.Dictionary animation ) : System.Collections.Generic
ChangeFramesPerSecond ( int newValue ) : void
Draw ( GameTime gameTime, SpriteBatch spriteBatch, Vector2 position ) : void
Update ( GameTime gameTime ) : void

Method Details

AnimatedSprite() public method

public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, Animation animation ) : System.Collections.Generic
sprite Microsoft.Xna.Framework.Graphics.Texture2D
animation Animation
return System.Collections.Generic

AnimatedSprite() public method

public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, Animation>.Dictionary animation ) : System.Collections.Generic
sprite Microsoft.Xna.Framework.Graphics.Texture2D
animation Animation>.Dictionary
return System.Collections.Generic

ChangeFramesPerSecond() public method

public ChangeFramesPerSecond ( int newValue ) : void
newValue int
return void

Draw() public method

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

Update() public method

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