C# Класс Indiefreaks.Xna.Rendering.SunBurnLayer

Specialized Layer which Loads, Updates and Renders SunBurn SceneEntity and SceneObject instances
Наследование: Layer, IContentHost
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Draw() публичный Метод

Draws a frame
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void

LoadContent() публичный Метод

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
Результат void

SunBurnLayer() публичный Метод

Creates a new instance of the SunBurnLayer
public SunBurnLayer ( GameState gameState ) : System
gameState Indiefreaks.Xna.Core.GameState
Результат System

SunBurnLayer() публичный Метод

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
Результат System

UnloadContent() публичный Метод

Unload all XNA ContentManager content
public UnloadContent ( IContentCatalogue catalogue ) : void
catalogue IContentCatalogue
Результат void