C# Class ThreadedPlatformer.AnimationPlayer

Controls playback of an Animation.
Afficher le fichier Open project: sq/Fracture

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime, BitmapBatch batch, Vector2 position, SpriteEffects spriteEffects ) : void

Advances the time position and draws the current frame of the animation.

PlayAnimation ( Animation animation ) : void

Begins or continues playback of an animation.

Method Details

Draw() public méthode

Advances the time position and draws the current frame of the animation.
public Draw ( GameTime gameTime, BitmapBatch batch, Vector2 position, SpriteEffects spriteEffects ) : void
gameTime Microsoft.Xna.Framework.GameTime
batch BitmapBatch
position Vector2
spriteEffects SpriteEffects
Résultat void

PlayAnimation() public méthode

Begins or continues playback of an animation.
public PlayAnimation ( Animation animation ) : void
animation Animation
Résultat void