C# Class Indiefreaks.Xna.Rendering.SunBurnLayer

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

Public Methods

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

Draws a frame
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

LoadContent() public method

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

SunBurnLayer() public method

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

SunBurnLayer() public method

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

UnloadContent() public method

Unload all XNA ContentManager content
public UnloadContent ( IContentCatalogue catalogue ) : void
catalogue IContentCatalogue
return void