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

A screen used for drawing.
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Device GraphicsDevice
Layers List
State FSO.Common.Rendering.Framework.Model.UpdateState

Public Methods

Method 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

Method Description
TouchStub ( UpdateState state ) : void

Method Details

Add() public method

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

Draw() public method

public Draw ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void

GameScreen() public method

public GameScreen ( GraphicsDevice device ) : System
device GraphicsDevice
return System

TextInput() public static method

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

Update() public method

public Update ( GameTime time, bool hasFocus ) : void
time Microsoft.Xna.Framework.GameTime
hasFocus bool
return void

Property Details

Device public property

public GraphicsDevice Device
return GraphicsDevice

Layers public property

public List Layers
return List

State public property

public UpdateState,FSO.Common.Rendering.Framework.Model State
return FSO.Common.Rendering.Framework.Model.UpdateState