C# Class Tantric.Graphical.Scenes.WorldScene

Inheritance: Scene, IDisposable
显示文件 Open project: TheEtiologist/tantric

Public Methods

Method Description
AddLayer ( WorldLayer lay ) : void
Dispose ( ) : void
Draw ( Microsoft gameTime ) : void

Draw our game world.

GetLayer ( String name ) : WorldLayer
HandleInput ( GameTime gameTime ) : void
Logic ( Microsoft gameTime ) : void

Update our game world.

Pause ( ) : void

Pause...

Unpause ( ) : void

Unpause...

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

Constructor

Protected Methods

Method Description
InternallyLoadResources ( ) : void

Load our resources

InternallyUnloadResources ( ) : void

Unload our resources

Method Details

AddLayer() public method

public AddLayer ( WorldLayer lay ) : void
lay WorldLayer
return void

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

Draw our game world.
public Draw ( Microsoft gameTime ) : void
gameTime Microsoft
return void

GetLayer() public method

public GetLayer ( String name ) : WorldLayer
name String
return WorldLayer

HandleInput() public method

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

InternallyLoadResources() protected method

Load our resources
protected InternallyLoadResources ( ) : void
return void

InternallyUnloadResources() protected method

Unload our resources
protected InternallyUnloadResources ( ) : void
return void

Logic() public method

Update our game world.
public Logic ( Microsoft gameTime ) : void
gameTime Microsoft
return void

Pause() public method

Pause...
public Pause ( ) : void
return void

Unpause() public method

Unpause...
public Unpause ( ) : void
return void

WorldScene() public method

Constructor
public WorldScene ( GraphicsDeviceManager manager, Microsoft.Xna.Framework.Content.ContentManager content, String name ) : System
manager GraphicsDeviceManager
content Microsoft.Xna.Framework.Content.ContentManager
name String
return System