Game Class
Definition
Section titled “Definition”A MonoGame Microsoft.Xna.Framework.Game instance that runs SadConsole.
public class Game : Game, IDisposableInheritance object → Microsoft.Xna.Framework.Game
Implements IDisposable
Constructors
Section titled “Constructors”Game()
Section titled “Game()”Creates the new MonoGame game object.
public Game()Properties
Section titled “Properties”WindowWidth
Section titled “WindowWidth”The current game window width.
public int WindowWidth { get; }WindowHeight
Section titled “WindowHeight”The current game window height.
public int WindowHeight { get; }Methods
Section titled “Methods”Initialize()
Section titled “Initialize()”protected override void Initialize()Events
Section titled “Events”WindowResized
Section titled “WindowResized”Raised when the window is resized and the render area has been calculated.
public event EventHandler WindowResized