C# Class Indiefreaks.Xna.Rendering.SunBurnLayer

Specialized Layer which Loads, Updates and Renders SunBurn SceneEntity and SceneObject instances
Inheritance: Layer, IContentHost
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void

Draws a frame

LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void

Load all XNA ContentManager content

SunBurnLayer ( GameState gameState ) : System

Creates a new instance of the SunBurnLayer

SunBurnLayer ( GameState gameState, string repositoryPath, string scenePath ) : System

Creates a new instance of the SunBurnLayer with a ContentRepository and a Scene

UnloadContent ( IContentCatalogue catalogue ) : void

Unload all XNA ContentManager content

Method Details

Draw() public méthode

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

LoadContent() public méthode

Load all XNA ContentManager content
public LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void
catalogue IContentCatalogue
manager Microsoft.Xna.Framework.Content.ContentManager XNA content manage
Résultat void

SunBurnLayer() public méthode

Creates a new instance of the SunBurnLayer
public SunBurnLayer ( GameState gameState ) : System
gameState Indiefreaks.Xna.Core.GameState
Résultat System

SunBurnLayer() public méthode

Creates a new instance of the SunBurnLayer with a ContentRepository and a Scene
public SunBurnLayer ( GameState gameState, string repositoryPath, string scenePath ) : System
gameState Indiefreaks.Xna.Core.GameState
repositoryPath string The path to the ContentRepository file in the Content project
scenePath string The path to the SunBurn Scene file in the Content project
Résultat System

UnloadContent() public méthode

Unload all XNA ContentManager content
public UnloadContent ( IContentCatalogue catalogue ) : void
catalogue IContentCatalogue
Résultat void