C# Class CarpMuffin.Engine

The main rendering engine
Inheritance: Microsoft.Xna.Framework.Game
Mostrar archivo Open project: BetaToast/CarpMuffin

Public Methods

Method Description
CreateWhitePixel ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
Engine ( ) : System
OnLoad ( ) : void
SetResolution ( int width, int height ) : void

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

CreateWhitePixel() public method

public CreateWhitePixel ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
return Microsoft.Xna.Framework.Graphics.Texture2D

Draw() protected method

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

Engine() public method

public Engine ( ) : System
return System

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

OnLoad() public method

public OnLoad ( ) : void
return void

SetResolution() public method

public SetResolution ( int width, int height ) : void
width int
height int
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() protected method

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