C# Class LDEngine.Game

This is the main type for your game
Inheritance: Microsoft.Xna.Framework.Game
Show file Open project: GarethIW/LDEngine Class Usage Examples

Public Properties

Property Type Description
DisplayScale int
RenderHeight int
RenderWidth int

Public Methods

Method Description
ChangeDisplayScale ( ) : void
Game ( ) : System
ToggleFullScreen ( ) : void

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void

This is called when the game should draw itself.

Initialize ( ) : void
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

ChangeDisplayScale() public method

public ChangeDisplayScale ( ) : void
return void

Draw() protected method

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void

Game() public method

public Game ( ) : System
return System

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

ToggleFullScreen() public method

public ToggleFullScreen ( ) : void
return void

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

DisplayScale public property

public int DisplayScale
return int

RenderHeight public property

public int RenderHeight
return int

RenderWidth public property

public int RenderWidth
return int