C# Класс Tantric.Graphical.Scene

Represents a segment of the game that needs to be drawn, with it's own resources to be loaded and destroyed.
Наследование: Trash.ITrashable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Chime ( ) : void
InternallyLoadResources ( ) : void

Internal resource load.

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

Описание методов

Chime() защищенный Метод

protected Chime ( ) : void
Результат void

Draw() публичный абстрактный Метод

Draw the scene.
public abstract Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void

HandleInput() публичный абстрактный Метод

public abstract HandleInput ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void

InternallyLoadResources() защищенный абстрактный Метод

Internal resource load.
protected abstract InternallyLoadResources ( ) : void
Результат void

InternallyUnloadResources() защищенный абстрактный Метод

protected abstract InternallyUnloadResources ( ) : void
Результат void

LoadResources() публичный Метод

Load the resources we need.
public LoadResources ( ) : void
Результат void

Logic() публичный абстрактный Метод

public abstract Logic ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void

Pause() публичный абстрактный Метод

Pause execution of the scene
public abstract Pause ( ) : void
Результат void

Scene() защищенный Метод

protected Scene ( GraphicsDeviceManager manager, Microsoft.Xna.Framework.Content.ContentManager content, String name ) : System
manager GraphicsDeviceManager
content Microsoft.Xna.Framework.Content.ContentManager
name String
Результат System

UnloadResources() публичный Метод

Unload the resources we're using.
public UnloadResources ( ) : void
Результат void

Unpause() публичный абстрактный Метод

Unpause execution of the scene.
public abstract Unpause ( ) : void
Результат void

Update() публичный Метод

Update the scene.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void