C# Class MyPolarBear.Content.Animator

Mostrar archivo Open project: sgdc/sgdc-old Class Usage Examples

Public Properties

Property Type Description
Animations Animation>.Dictionary
CurrentAnimation String

Public Methods

Method 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 method

public Animator ( ) : System
return System

Draw() public method

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
return void

PlayAnimation() public method

public PlayAnimation ( String animation, bool bRestart ) : void
animation String
bRestart bool
return void

Property Details

Animations public_oe property

public Dictionary Animations
return Animation>.Dictionary

CurrentAnimation public_oe property

public String CurrentAnimation
return String