C# Class Lecture7Examples.WorldMapManager

This is a game component that implements IUpdateable.
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent, IDrawSprites
Afficher le fichier Open project: Westerdals/PG2200LectureCode2013 Class Usage Examples

Protected Properties

Свойство Type Description
_toDraw List

Méthodes publiques

Méthode Description
AddDrawable ( DrawData drawable ) : void
Draw ( GameTime gameTime ) : void
Initialize ( ) : void

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.

RemoveDrawable ( DrawData toRemove ) : void
Update ( GameTime gameTime ) : void

Allows the game component to update itself.

WorldMapManager ( Microsoft.Xna.Framework.Game game ) : System

Méthodes protégées

Méthode Description
LoadContent ( ) : void
drawElement ( DrawData drawable ) : void

Method Details

AddDrawable() public méthode

public AddDrawable ( DrawData drawable ) : void
drawable LectureExamples5.DrawData
Résultat void

Draw() public méthode

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

Initialize() public méthode

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
public Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

RemoveDrawable() public méthode

public RemoveDrawable ( DrawData toRemove ) : void
toRemove LectureExamples5.DrawData
Résultat void

Update() public méthode

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Résultat void

WorldMapManager() public méthode

public WorldMapManager ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
Résultat System

drawElement() protected méthode

protected drawElement ( DrawData drawable ) : void
drawable LectureExamples5.DrawData
Résultat void

Property Details

_toDraw protected_oe property

protected List _toDraw
Résultat List