C# Class Tantric.Graphical.Scene

Represents a segment of the game that needs to be drawn, with it's own resources to be loaded and destroyed.
Inheritance: Trash.ITrashable
ファイルを表示 Open project: TheEtiologist/tantric Class Usage Examples

Public Methods

Method Description
Draw ( GameTime gameTime ) : void

Draw the scene.

HandleInput ( GameTime gameTime ) : void
LoadResources ( ) : void

Load the resources we need.

Logic ( GameTime gameTime ) : void
Pause ( ) : void

Pause execution of the scene

UnloadResources ( ) : void

Unload the resources we're using.

Unpause ( ) : void

Unpause execution of the scene.

Update ( GameTime gameTime ) : void

Update the scene.

Protected Methods

Method Description
Chime ( ) : void
InternallyLoadResources ( ) : void

Internal resource load.

InternallyUnloadResources ( ) : void
Scene ( GraphicsDeviceManager manager, Microsoft.Xna.Framework.Content.ContentManager content, String name ) : System

Method Details

Chime() protected method

protected Chime ( ) : void
return void

Draw() public abstract method

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

HandleInput() public abstract method

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

InternallyLoadResources() protected abstract method

Internal resource load.
protected abstract InternallyLoadResources ( ) : void
return void

InternallyUnloadResources() protected abstract method

protected abstract InternallyUnloadResources ( ) : void
return void

LoadResources() public method

Load the resources we need.
public LoadResources ( ) : void
return void

Logic() public abstract method

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

Pause() public abstract method

Pause execution of the scene
public abstract Pause ( ) : void
return void

Scene() protected method

protected Scene ( GraphicsDeviceManager manager, Microsoft.Xna.Framework.Content.ContentManager content, String name ) : System
manager GraphicsDeviceManager
content Microsoft.Xna.Framework.Content.ContentManager
name String
return System

UnloadResources() public method

Unload the resources we're using.
public UnloadResources ( ) : void
return void

Unpause() public abstract method

Unpause execution of the scene.
public abstract Unpause ( ) : void
return void

Update() public method

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