C# Class Platformer.AnimationPlayer

Afficher le fichier Open project: zmthy/play-dead Class Usage Examples

Méthodes publiques

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

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

Pause ( ) : void
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, SpriteBatch spriteBatch, Vector2 position, SpriteEffects spriteEffects ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
position Vector2
spriteEffects SpriteEffects
Résultat void

Pause() public méthode

public Pause ( ) : void
Résultat void

PlayAnimation() public méthode

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