C# 클래스 Indiefreaks.Xna.Rendering.SunBurnLayer

Specialized Layer which Loads, Updates and Renders SunBurn SceneEntity and SceneObject instances
상속: Layer, IContentHost
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
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