C# Class WarTornLands.Entities.Modules.Draw.AnimatedDrawer

Inheritance: BaseModule, IDrawExecuter
Afficher le fichier Open project: floAr/WarTornLands Class Usage Examples

Méthodes publiques

Méthode Description
AnimatedDrawer ( DataRow data ) : System
AnimatedDrawer ( Microsoft.Xna.Framework.Graphics.Texture2D spriteSheet ) : System
Draw ( SpriteBatch batch, DrawInformation information ) : void
SetCurrentAnimation ( string name ) : void
SetOwner ( System.Entity owner ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
AddAnimation ( Animation anim ) : void
AddAnimation ( Animation anim, float offsetMS ) : void
ReadAnimation ( DataRow data ) : Animation

Method Details

AnimatedDrawer() public méthode

public AnimatedDrawer ( DataRow data ) : System
data System.Data.DataRow
Résultat System

AnimatedDrawer() public méthode

public AnimatedDrawer ( Microsoft.Xna.Framework.Graphics.Texture2D spriteSheet ) : System
spriteSheet Microsoft.Xna.Framework.Graphics.Texture2D
Résultat System

Draw() public méthode

public Draw ( SpriteBatch batch, DrawInformation information ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
information DrawInformation
Résultat void

SetCurrentAnimation() public méthode

public SetCurrentAnimation ( string name ) : void
name string
Résultat void

SetOwner() public méthode

public SetOwner ( System.Entity owner ) : void
owner System.Entity
Résultat void

Update() public méthode

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