C# Class MyPolarBear.Content.Animator

Afficher le fichier Open project: sgdc/sgdc-old Class Usage Examples

Méthodes publiques

Свойство Type Description
Animations Animation>.Dictionary
CurrentAnimation String

Méthodes publiques

Méthode Description
Animator ( ) : System
Draw ( SpriteBatch spriteBatch, Vector2 position, Vector2 scale, Color tint, float rot, Vector2 orig, float layer ) : void
PlayAnimation ( String animation, bool bRestart ) : void

Method Details

Animator() public méthode

public Animator ( ) : System
Résultat System

Draw() public méthode

public Draw ( SpriteBatch spriteBatch, Vector2 position, Vector2 scale, Color tint, float rot, Vector2 orig, float layer ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
position Vector2
scale Vector2
tint Color
rot float
orig Vector2
layer float
Résultat void

PlayAnimation() public méthode

public PlayAnimation ( String animation, bool bRestart ) : void
animation String
bRestart bool
Résultat void

Property Details

Animations public_oe property

public Dictionary Animations
Résultat Animation>.Dictionary

CurrentAnimation public_oe property

public String CurrentAnimation
Résultat String