C# Class SadConsole.EngineGameComponent

A game component to handle the SadConsole engine initialization, update, and drawing.
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Show file Open project: Thraka/SadConsole

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
EngineGameComponent ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager manager, string font, int screenWidth, int screenHeight, System.Action initializeCallback ) : System
Initialize ( ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime GameTime
return void

EngineGameComponent() public method

public EngineGameComponent ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager manager, string font, int screenWidth, int screenHeight, System.Action initializeCallback ) : System
game Microsoft.Xna.Framework.Game
manager Microsoft.Xna.Framework.GraphicsDeviceManager
font string
screenWidth int
screenHeight int
initializeCallback System.Action
return System

Initialize() public method

public Initialize ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime GameTime
return void