WindowManager

Manages the application window and provides an interface for window-related operations.

Properties

Window

(IView) { get; set }: Gets the window associated with this manager.

Title

(string) { get; set }: Gets or sets the window's title, which a game sets to its product name.

ShowStats

(bool) { get; set }: Gets or sets whether the title also shows the window size and frame rate.

Public Methods

Initialize

public void Initialize()

Initializes the window manager and sets up frame rate tracking.

Run

public void Run()

Runs the application's main loop.

Dispose

public void Dispose()

Disposes of the window manager and releases associated resources.