C# Class Tantric.Graphical.SceneManager

Represents the currently queued list of scenes
Exibir arquivo Open project: TheEtiologist/tantric Class Usage Examples

Public Methods

Method Description
AddScene ( Scene scene ) : void

Add a scene to the queue.

CleanScene ( Trash trash ) : void
Draw ( GameTime gameTime ) : void
GainFocus ( ) : void

Gained focus, so load all resources in the current scene.

GetScene ( String name ) : Scene
LoseFocus ( ) : void

Lost focus, so unload all resources in the current scene.

SceneManager ( ) : System

Constructor

Update ( GameTime gameTime ) : void

Update our current scene.

Method Details

AddScene() public method

Add a scene to the queue.
public AddScene ( Scene scene ) : void
scene Scene
return void

CleanScene() public method

public CleanScene ( Trash trash ) : void
trash Trash
return void

Draw() public method

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

GainFocus() public method

Gained focus, so load all resources in the current scene.
public GainFocus ( ) : void
return void

GetScene() public method

public GetScene ( String name ) : Scene
name String
return Scene

LoseFocus() public method

Lost focus, so unload all resources in the current scene.
public LoseFocus ( ) : void
return void

SceneManager() public method

Constructor
public SceneManager ( ) : System
return System

Update() public method

Update our current scene.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void