Class Game
A MonoGame Microsoft.Xna.Framework.Game instance that runs SadConsole.
Implements
Inherited Members
Game.Dispose()
Game.Exit()
Game.ResetElapsedTime()
Game.SuppressDraw()
Game.RunOneFrame()
Game.Run()
Game.Run(GameRunBehavior)
Game.Tick()
Game.BeginDraw()
Game.EndDraw()
Game.BeginRun()
Game.EndRun()
Game.LoadContent()
Game.UnloadContent()
Game.Draw(GameTime)
Game.Update(GameTime)
Game.LaunchParameters
Game.Components
Game.InactiveSleepTime
Game.MaxElapsedTime
Game.IsActive
Game.IsMouseVisible
Game.TargetElapsedTime
Game.IsFixedTimeStep
Game.Services
Game.Content
Game.GraphicsDevice
Game.Window
Game.Activated
Game.Deactivated
Game.Disposed
Game.Exiting
Namespace: SadConsole.Host
Assembly: SadConsole.Host.MonoGame.dll
Syntax
public class Game : Game, IDisposable
Constructors
Game()
Creates the new MonoGame game object.
Declaration
public Game()
Properties
WindowHeight
The current game window height.
Declaration
public int WindowHeight { get; }
Property Value
Type | Description |
---|---|
int |
WindowWidth
The current game window width.
Declaration
public int WindowWidth { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Initialize()
Declaration
protected override void Initialize()
Overrides
Microsoft.Xna.Framework.Game.Initialize()
Events
WindowResized
Raised when the window is resized and the render area has been calculated.
Declaration
public event EventHandler WindowResized
Event Type
Type | Description |
---|---|
EventHandler |