C# Class Dischord.Engine.SpriteManager

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Afficher le fichier Open project: jbrownbridge/Dischord

Protected Properties

Свойство Type Description
reset System.Boolean
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
spriteImage Microsoft.Xna.Framework.Graphics.Texture2D
spriteList List

Méthodes publiques

Méthode Description
AddSprite ( Sprite sprite, int framesPerSecond ) : void
Initialize ( ) : void
Reset ( ) : void
SpriteManager ( Microsoft.Xna.Framework.Game game, string imagePath, int columns, int rows, string behaviourPath ) : System
Update ( GameTime gameTime ) : void

Méthodes protégées

Méthode Description
LoadContent ( ) : void

Method Details

AddSprite() public méthode

public AddSprite ( Sprite sprite, int framesPerSecond ) : void
sprite Sprite
framesPerSecond int
Résultat void

Initialize() public méthode

public Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SpriteManager() public méthode

public SpriteManager ( Microsoft.Xna.Framework.Game game, string imagePath, int columns, int rows, string behaviourPath ) : System
game Microsoft.Xna.Framework.Game
imagePath string
columns int
rows int
behaviourPath string
Résultat System

Update() public abstract méthode

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

Property Details

reset protected_oe property

protected Boolean,System reset
Résultat System.Boolean

spriteBatch protected_oe property

protected SpriteBatch,Microsoft.Xna.Framework.Graphics spriteBatch
Résultat Microsoft.Xna.Framework.Graphics.SpriteBatch

spriteImage protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics spriteImage
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

spriteList protected_oe property

protected List spriteList
Résultat List