C# Class SadConsole.SadConsoleGame

A MonoGame Game instance that runs SadConsole. This is used when you don't provide one and call Engine.Initialize(string, int, int).
Inheritance: Microsoft.Xna.Framework.Game
Datei anzeigen Open project: Thraka/SadConsole Class Usage Examples

Public Properties

Property Type Description
DisplayOptions WindowResizeOptions
GraphicsDeviceManager Microsoft.Xna.Framework.GraphicsDeviceManager

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void

Private Methods

Method Description
SadConsoleGame ( string font, int consoleWidth, int consoleHeight, Action ctorCallback = null ) : System
Window_ClientSizeChanged ( object sender, EventArgs e ) : void

Method Details

Draw() protected method

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

Initialize() protected method

protected Initialize ( ) : void
return void

Property Details

DisplayOptions public_oe property

The type of resizing options for the window.
public WindowResizeOptions DisplayOptions
return WindowResizeOptions

GraphicsDeviceManager public_oe property

public GraphicsDeviceManager,Microsoft.Xna.Framework GraphicsDeviceManager
return Microsoft.Xna.Framework.GraphicsDeviceManager