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
Afficher le fichier Open project: Thraka/SadConsole Class Usage Examples

Méthodes publiques

Свойство Type Description
DisplayOptions WindowResizeOptions
GraphicsDeviceManager Microsoft.Xna.Framework.GraphicsDeviceManager

Méthodes protégées

Méthode Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void

Private Methods

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

Method Details

Draw() protected méthode

protected Draw ( GameTime gameTime ) : void
gameTime GameTime
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

Property Details

DisplayOptions public_oe property

The type of resizing options for the window.
public WindowResizeOptions DisplayOptions
Résultat WindowResizeOptions

GraphicsDeviceManager public_oe property

public GraphicsDeviceManager,Microsoft.Xna.Framework GraphicsDeviceManager
Résultat Microsoft.Xna.Framework.GraphicsDeviceManager