Skip to content

The Concept

Manuel Huber edited this page Mar 17, 2018 · 2 revisions

The whole Framework is based on Screens and Controls. A Screen serves as a Page on which Controls can be laid out.

Screen Manager

The ScreenManager manages all Screens and provides Methods to:

  • Navigate between Screens
  • Show/Hide the mouse
  • Provide a Screen History

Screens

Screens host Controls and can have a specified Size and Background. Positioning of Controls is always relative to their Screen.

A Screen can be declared as an Overlay which causes other visible Screens to be rendered under it if the overlay does not fill the whole window.

Controls

Controls can either be standalone or contain other Controls and care about their positioning.

MonoGameUi supports some basic controls out of the box: Supported Controls

Clone this wiki locally