C# Class FBClient.Sprites.AnimatedSprite

Afficher le fichier Open project: Noxalus/Final-Bomber Class Usage Examples

Méthodes publiques

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

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

AnimatedSprite() public méthode

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

ChangeFramesPerSecond() public méthode

public ChangeFramesPerSecond ( int newValue ) : void
newValue int
Résultat void

Draw() public méthode

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

Update() public méthode

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