Class Game
Adjust game-related settings.
Inheritance
System.Object
Game
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public static class Game : object
Properties
Paused
Whether the game is paused or not.
Declaration
public static bool Paused { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Status
The game's current EGameStatus.
Declaration
public static EGameStatus Status { get; }
Property Value
Type | Description |
---|---|
EGameStatus |
Time
The current time in-game. Only valid when in a game.
Declaration
public static Date Time { get; }
Property Value
Type | Description |
---|---|
Date |
Methods
GameOver()
Force the game to end.
Declaration
public static void GameOver()
GetActiveScene()
Get the currently-active scene
Declaration
public static Scene GetActiveScene()
Returns
Type | Description |
---|---|
Scene | The currently-active scene |
GetActiveSceneGroup()
Get the currently-active SceneGroup
Declaration
public static SceneGroup GetActiveSceneGroup()
Returns
Type | Description |
---|---|
SceneGroup | The currently-active SceneGroup |