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
Afficher le fichier Open project: TheEtiologist/tantric Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

protected Chime ( ) : void
Résultat void

Draw() public abstract méthode

Draw the scene.
public abstract Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

HandleInput() public abstract méthode

public abstract HandleInput ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

InternallyLoadResources() protected abstract méthode

Internal resource load.
protected abstract InternallyLoadResources ( ) : void
Résultat void

InternallyUnloadResources() protected abstract méthode

protected abstract InternallyUnloadResources ( ) : void
Résultat void

LoadResources() public méthode

Load the resources we need.
public LoadResources ( ) : void
Résultat void

Logic() public abstract méthode

public abstract Logic ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Pause() public abstract méthode

Pause execution of the scene
public abstract Pause ( ) : void
Résultat void

Scene() protected méthode

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

UnloadResources() public méthode

Unload the resources we're using.
public UnloadResources ( ) : void
Résultat void

Unpause() public abstract méthode

Unpause execution of the scene.
public abstract Unpause ( ) : void
Résultat void

Update() public méthode

Update the scene.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void