C# Class FSO.Client.TSOGame

This is the main type for your game
Inheritance: FSO.Common.Rendering.Framework.Game
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
SceneMgr FSO.Common.Rendering.Framework._3DLayer
uiLayer FSO.Client.UI.UILayer

Méthodes publiques

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

Méthodes protégées

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

Method Details

AddTextInput() public méthode

Only used on desktop targets. Use extensive reflection to AVOID linking on iOS!
public AddTextInput ( ) : void
Résultat void

Initialize() protected méthode

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
Résultat void

LoadContent() protected méthode

LoadContent will be called once per game and is the place to load all of your content.
protected LoadContent ( ) : void
Résultat void

LostFocus() public méthode

public LostFocus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

RegainFocus() public méthode

public RegainFocus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

TSOGame() public méthode

public TSOGame ( ) : System
Résultat System

UnloadContent() protected méthode

UnloadContent will be called once per game and is the place to unload all content.
protected UnloadContent ( ) : void
Résultat void

Update() protected méthode

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.
Résultat void

Property Details

SceneMgr public_oe property

public _3DLayer,FSO.Common.Rendering.Framework SceneMgr
Résultat FSO.Common.Rendering.Framework._3DLayer

uiLayer public_oe property

public UILayer,FSO.Client.UI uiLayer
Résultat FSO.Client.UI.UILayer