From 7a2d3438c530dc55852a23f35c197b02b013da42 Mon Sep 17 00:00:00 2001 From: Sara Date: Thu, 30 May 2024 15:25:42 +0200 Subject: [PATCH] 2024-05-30 15:25 --- html/classutils_1_1GameRoot3D.html | 184 +++++++++++++++++++++++++---- html/game__root_8hpp_source.html | 78 ++++++------ 2 files changed, 202 insertions(+), 60 deletions(-) diff --git a/html/classutils_1_1GameRoot3D.html b/html/classutils_1_1GameRoot3D.html index 43371fa..cb2360a 100644 --- a/html/classutils_1_1GameRoot3D.html +++ b/html/classutils_1_1GameRoot3D.html @@ -235,36 +235,30 @@ Private Attributes uint32_t next_player_id {1}  Next available player ID.
  - -gd::HashMap< uint32_t, gd::Pair< PlayerInput *, IPlayer * > > players {} - all players by id by input device.
+gd::HashMap< uint32_t, gd::Pair< PlayerInput *, IPlayer * > > players {} + All players by id by input device.
  - -gd::RandomNumberGenerator rng {} - Global random number generator.
+gd::RandomNumberGenerator rng {} + Global random number generator.
  - -gd::HashMap< gd::StringName, Level3D * > levels {} - all currently active levels identified by their resource paths.
+gd::HashMap< gd::StringName, Level3D * > levels {} + All currently active levels.
  gd::Vector< SpawnPoint3D * > spawn_points {} - all currently available spawn points.
+ All currently available spawn points.
  - -GameModegame_mode {} - current active gamemode.
+GameModegame_mode {} + Current active gamemode.
  gd::Ref< GameStategame_state {}  Active game state.
  - -gd::Ref< gd::PackedScene > first_boot_level {} - The level to boot into on startup.
+gd::Ref< gd::PackedScene > first_boot_level {} + The level to boot into on startup.
  - -gd::Ref< GameStategame_state_prototype {} - The default game state data used for game_state if no save data is available.
+gd::Ref< GameStategame_state_prototype {} + The default game state data.
 

Detailed Description

@@ -509,6 +503,56 @@ gd::Ref< GameState >

Member Data Documentation

+ +

◆ first_boot_level

+ +
+
+ + + + + +
+ + + + +
gd::Ref<gd::PackedScene> utils::GameRoot3D::first_boot_level {}
+
+private
+
+ +

The level to boot into on startup.

+

get_first_boot_level() set_first_boot_level(value)

+ +
+
+ +

◆ game_mode

+ +
+
+ + + + + +
+ + + + +
GameMode* utils::GameRoot3D::game_mode {}
+
+private
+
+ +

Current active gamemode.

+

Replaced when a level is loaded that references a different game mode. *get_game_mode()

+ +
+

◆ game_state

@@ -530,7 +574,57 @@ gd::Ref< GameState >

Active game state.

-

Will be assigned loaded save data, or game_state_prototype if no save data is found.

+

Will be assigned loaded save data, or game_state_prototype if no save data is found. get_game_mode()

+ +
+ + +

◆ game_state_prototype

+ +
+
+ + + + + +
+ + + + +
gd::Ref<GameState> utils::GameRoot3D::game_state_prototype {}
+
+private
+
+ +

The default game state data.

+

Duplicated and assigned to game_state if no save data is available. get_game_state_prototype() set_game_state_prototype(value)

+ +
+
+ +

◆ levels

+ +
+
+ + + + + +
+ + + + +
gd::HashMap<gd::StringName, Level3D*> utils::GameRoot3D::levels {}
+
+private
+
+ +

All currently active levels.

+

Each identified by their resource paths. &get_levels()

@@ -557,6 +651,56 @@ gd::Ref< GameState >

Next available player ID.

Default is 1 because 0 is the "invalid" player id.

+ + + +

◆ players

+ +
+
+ + + + + +
+ + + + +
gd::HashMap<uint32_t, gd::Pair<PlayerInput*, IPlayer*> > utils::GameRoot3D::players {}
+
+private
+
+ +

All players by id by input device.

+

get_players() to get a vector of the IPlayer instances.

+ +
+
+ +

◆ rng

+ +
+
+ + + + + +
+ + + + +
gd::RandomNumberGenerator utils::GameRoot3D::rng {}
+
+private
+
+ +

Global random number generator.

+

&get_rng()

+

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