mines
Loading...
Searching...
No Matches
Interface Class Referenceexport
module mines

User interface. More...

Public Member Functions

void exit ()
 Quit the game.
bool is_quit ()
 Get whether the game has quit.

Static Public Member Functions

static Interface create ()
 Construct a user interface.

Public Attributes

bool marks_enabled
 Whether marks are enabled.

Detailed Description

User interface.

Represents the state of the user interface that is shared between it's elements. Passed to GameView along with Game.

Member Function Documentation

◆ create()

Interface Interface::create ( )
inlinestatic

Construct a user interface.

Returns
New user interface.

◆ is_quit()

bool Interface::is_quit ( )
inline

Get whether the game has quit.

Returns
Whether the game has quit.

The documentation for this class was generated from the following file: