C# Class FSO.Common.Rendering.Framework.GameScreen

A screen used for drawing.
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
Device GraphicsDevice
Layers List
State FSO.Common.Rendering.Framework.Model.UpdateState

Méthodes publiques

Méthode Description
Add ( IGraphicsLayer layer ) : void

Adds a graphical element to this scene.

Draw ( GameTime time ) : void
GameScreen ( GraphicsDevice device ) : System
TextInput ( object sender, Microsoft.Xna.Framework.TextInputEventArgs e ) : void
Update ( GameTime time, bool hasFocus ) : void

Private Methods

Méthode Description
TouchStub ( UpdateState state ) : void

Method Details

Add() public méthode

Adds a graphical element to this scene.
public Add ( IGraphicsLayer layer ) : void
layer IGraphicsLayer Element inheriting from IGraphicsLayer.
Résultat void

Draw() public méthode

public Draw ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
Résultat void

GameScreen() public méthode

public GameScreen ( GraphicsDevice device ) : System
device GraphicsDevice
Résultat System

TextInput() public static méthode

public static TextInput ( object sender, Microsoft.Xna.Framework.TextInputEventArgs e ) : void
sender object
e Microsoft.Xna.Framework.TextInputEventArgs
Résultat void

Update() public méthode

public Update ( GameTime time, bool hasFocus ) : void
time Microsoft.Xna.Framework.GameTime
hasFocus bool
Résultat void

Property Details

Device public_oe property

public GraphicsDevice Device
Résultat GraphicsDevice

Layers public_oe property

public List Layers
Résultat List

State public_oe property

public UpdateState,FSO.Common.Rendering.Framework.Model State
Résultat FSO.Common.Rendering.Framework.Model.UpdateState