C# Класс FSO.Client.TSOGame

This is the main type for your game
Наследование: FSO.Common.Rendering.Framework.Game
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
SceneMgr FSO.Common.Rendering.Framework._3DLayer
uiLayer FSO.Client.UI.UILayer

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

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

Only used on desktop targets. Use extensive reflection to AVOID linking on iOS!

LostFocus ( object sender, EventArgs e ) : void
RegainFocus ( object sender, EventArgs e ) : void
TSOGame ( ) : System

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

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

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.

LoadContent ( ) : void

LoadContent will be called once per game and is the place to load all of your content.

UnloadContent ( ) : void

UnloadContent will be called once per game and is the place to unload all content.

Update ( GameTime gameTime ) : void

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.

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

AddTextInput() публичный метод

Only used on desktop targets. Use extensive reflection to AVOID linking on iOS!
public AddTextInput ( ) : void
Результат void

Initialize() защищенный метод

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
protected Initialize ( ) : void
Результат void

LoadContent() защищенный метод

LoadContent will be called once per game and is the place to load all of your content.
protected LoadContent ( ) : void
Результат void

LostFocus() публичный метод

public LostFocus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

RegainFocus() публичный метод

public RegainFocus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

TSOGame() публичный метод

public TSOGame ( ) : System
Результат System

UnloadContent() защищенный метод

UnloadContent will be called once per game and is the place to unload all content.
protected UnloadContent ( ) : void
Результат void

Update() защищенный метод

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Результат void

Описание свойств

SceneMgr публичное свойство

public _3DLayer,FSO.Common.Rendering.Framework SceneMgr
Результат FSO.Common.Rendering.Framework._3DLayer

uiLayer публичное свойство

public UILayer,FSO.Client.UI uiLayer
Результат FSO.Client.UI.UILayer