2024-05-30 15:28

main
Sara 2024-05-30 15:28:03 +02:00
parent 7a2d3438c5
commit 73d386dee7
2 changed files with 25 additions and 21 deletions

View File

@ -549,7 +549,8 @@ gd::Vector&lt; <a class="el" href="classutils_1_1SpawnPoint3D.html">SpawnPoint3D
</div><div class="memdoc">
<p>Current active gamemode. </p>
<p>Replaced when a level is loaded that references a different game mode. <code>*get_game_mode()</code> </p>
<p>Replaced when a level is loaded that references a different game mode.</p>
<p><code>*get_game_mode()</code> </p>
</div>
</div>
@ -574,7 +575,8 @@ gd::Vector&lt; <a class="el" href="classutils_1_1SpawnPoint3D.html">SpawnPoint3D
</div><div class="memdoc">
<p>Active game state. </p>
<p>Will be assigned loaded save data, or game_state_prototype if no save data is found. <code><a class="el" href="classutils_1_1GameRoot3D.html#a896b4e4d3b9465a83a10249dbd559662" title="get the current active game mode.">get_game_mode()</a></code> </p>
<p>Will be assigned loaded save data, or game_state_prototype if no save data is found.</p>
<p><code><a class="el" href="classutils_1_1GameRoot3D.html#a896b4e4d3b9465a83a10249dbd559662" title="get the current active game mode.">get_game_mode()</a></code> </p>
</div>
</div>
@ -599,7 +601,8 @@ gd::Vector&lt; <a class="el" href="classutils_1_1SpawnPoint3D.html">SpawnPoint3D
</div><div class="memdoc">
<p>The default game state data. </p>
<p>Duplicated and assigned to game_state if no save data is available. <code>get_game_state_prototype()</code> <code>set_game_state_prototype(value)</code> </p>
<p>Duplicated and assigned to game_state if no save data is available.</p>
<p><code>get_game_state_prototype()</code> <code>set_game_state_prototype(value)</code> </p>
</div>
</div>
@ -624,7 +627,8 @@ gd::Vector&lt; <a class="el" href="classutils_1_1SpawnPoint3D.html">SpawnPoint3D
</div><div class="memdoc">
<p>All currently active levels. </p>
<p>Each identified by their resource paths. <code>&amp;<a class="el" href="classutils_1_1GameRoot3D.html#aa9ed453a0b416641dfa5154a0b69c79e" title="Returns all currently active levels.">get_levels()</a></code> </p>
<p>Each identified by their resource paths.</p>
<p><code>&amp;<a class="el" href="classutils_1_1GameRoot3D.html#aa9ed453a0b416641dfa5154a0b69c79e" title="Returns all currently active levels.">get_levels()</a></code> </p>
</div>
</div>
@ -674,7 +678,7 @@ gd::Vector&lt; <a class="el" href="classutils_1_1SpawnPoint3D.html">SpawnPoint3D
</div><div class="memdoc">
<p>All players by id by input device. </p>
<p><code><a class="el" href="classutils_1_1GameRoot3D.html#af176a558f2a3b972c970087c2a1e3d7b" title="Get all players in a list.">get_players()</a></code> to get a vector of the <a class="el" href="classutils_1_1IPlayer.html" title="Interface required for player nodes.">IPlayer</a> instances. </p>
<p><code><a class="el" href="classutils_1_1GameRoot3D.html#af176a558f2a3b972c970087c2a1e3d7b" title="Get all players in a list.">get_players()</a></code> </p>
</div>
</div>

View File

@ -188,21 +188,21 @@ $(document).ready(function(){initNavTree('game__root_8hpp_source.html',''); init
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#af508cc9852b123ea37b94651da0f3c19"> 135</a></span> uint32_t <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#af508cc9852b123ea37b94651da0f3c19">next_player_id</a>{1};</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#acf48cbe3b2b6dd064cd1665ea8df2b9a"> 140</a></span> gd::HashMap&lt;uint32_t, gd::Pair&lt;PlayerInput*, IPlayer*&gt;&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#acf48cbe3b2b6dd064cd1665ea8df2b9a">players</a>{};</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#a623230c72ced578d7be1b9141b54fbd4"> 145</a></span> gd::RandomNumberGenerator <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#a623230c72ced578d7be1b9141b54fbd4">rng</a>{};</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#a800421c3b82947156eebcbf730a680db"> 151</a></span> gd::HashMap&lt;gd::StringName, Level3D*&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#a800421c3b82947156eebcbf730a680db">levels</a>{};</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#a116245a9c4e7edf53ec03c6fe78c8462"> 154</a></span> gd::Vector&lt;SpawnPoint3D*&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#a116245a9c4e7edf53ec03c6fe78c8462">spawn_points</a>{};</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#a723e28059a9dbef959525d22e9556c5b"> 160</a></span> <a class="code hl_class" href="classutils_1_1GameMode.html">GameMode</a> *<a class="code hl_variable" href="classutils_1_1GameRoot3D.html#a723e28059a9dbef959525d22e9556c5b">game_mode</a>{}; </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#af73d3a598b72fcdc7dce372ea3af6e44"> 166</a></span> gd::Ref&lt;GameState&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#af73d3a598b72fcdc7dce372ea3af6e44">game_state</a>{};</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#abf16d0f3b8030b758942397dcff1d46a"> 171</a></span> gd::Ref&lt;gd::PackedScene&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#abf16d0f3b8030b758942397dcff1d46a">first_boot_level</a>{}; </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#ad62b2be46770ba99aa6c2a7800c52aa8"> 177</a></span> gd::Ref&lt;GameState&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#ad62b2be46770ba99aa6c2a7800c52aa8">game_state_prototype</a>{}; </div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span>};</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span>}</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span><span class="preprocessor">#endif </span><span class="comment">// !UTILS_GAME_ROOT_HPP</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#a800421c3b82947156eebcbf730a680db"> 152</a></span> gd::HashMap&lt;gd::StringName, Level3D*&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#a800421c3b82947156eebcbf730a680db">levels</a>{};</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#a116245a9c4e7edf53ec03c6fe78c8462"> 155</a></span> gd::Vector&lt;SpawnPoint3D*&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#a116245a9c4e7edf53ec03c6fe78c8462">spawn_points</a>{};</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#a723e28059a9dbef959525d22e9556c5b"> 162</a></span> <a class="code hl_class" href="classutils_1_1GameMode.html">GameMode</a> *<a class="code hl_variable" href="classutils_1_1GameRoot3D.html#a723e28059a9dbef959525d22e9556c5b">game_mode</a>{}; </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#af73d3a598b72fcdc7dce372ea3af6e44"> 169</a></span> gd::Ref&lt;GameState&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#af73d3a598b72fcdc7dce372ea3af6e44">game_state</a>{};</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#abf16d0f3b8030b758942397dcff1d46a"> 174</a></span> gd::Ref&lt;gd::PackedScene&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#abf16d0f3b8030b758942397dcff1d46a">first_boot_level</a>{}; </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="classutils_1_1GameRoot3D.html#ad62b2be46770ba99aa6c2a7800c52aa8"> 181</a></span> gd::Ref&lt;GameState&gt; <a class="code hl_variable" href="classutils_1_1GameRoot3D.html#ad62b2be46770ba99aa6c2a7800c52aa8">game_state_prototype</a>{}; </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span>};</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span>}</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span><span class="preprocessor">#endif </span><span class="comment">// !UTILS_GAME_ROOT_HPP</span></div>
<div class="ttc" id="aclassutils_1_1GameMode_html"><div class="ttname"><a href="classutils_1_1GameMode.html">utils::GameMode</a></div><div class="ttdoc">Stores session-relevant data.</div><div class="ttdef"><b>Definition</b> game_mode.hpp:16</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html"><div class="ttname"><a href="classutils_1_1GameRoot3D.html">utils::GameRoot3D</a></div><div class="ttdoc">The root of a game.</div><div class="ttdef"><b>Definition</b> game_root.hpp:28</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a0fc164bad77a192ff2209eee18e5104b"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a0fc164bad77a192ff2209eee18e5104b">utils::GameRoot3D::grab_singleton</a></div><div class="ttdeci">void grab_singleton()</div><div class="ttdoc">Attempt to make 'this' the current singleton instance.</div><div class="ttdef"><b>Definition</b> game_root.cpp:257</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a105011a591cf09368958d4be350ed352"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a105011a591cf09368958d4be350ed352">utils::GameRoot3D::get_game_state</a></div><div class="ttdeci">GameState * get_game_state() const</div><div class="ttdoc">Get the current active game state.</div><div class="ttdef"><b>Definition</b> game_root.cpp:207</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a116245a9c4e7edf53ec03c6fe78c8462"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a116245a9c4e7edf53ec03c6fe78c8462">utils::GameRoot3D::spawn_points</a></div><div class="ttdeci">gd::Vector&lt; SpawnPoint3D * &gt; spawn_points</div><div class="ttdoc">All currently available spawn points.</div><div class="ttdef"><b>Definition</b> game_root.hpp:154</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a116245a9c4e7edf53ec03c6fe78c8462"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a116245a9c4e7edf53ec03c6fe78c8462">utils::GameRoot3D::spawn_points</a></div><div class="ttdeci">gd::Vector&lt; SpawnPoint3D * &gt; spawn_points</div><div class="ttdoc">All currently available spawn points.</div><div class="ttdef"><b>Definition</b> game_root.hpp:155</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a13e110d60dffd924248af9c3f6943706"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a13e110d60dffd924248af9c3f6943706">utils::GameRoot3D::has_singleton</a></div><div class="ttdeci">static bool has_singleton()</div><div class="ttdoc">returns true if there is currently a singleton active for GameRoot</div><div class="ttdef"><b>Definition</b> game_root.cpp:35</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a1937044fe05a903610308f8d382de975"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a1937044fe05a903610308f8d382de975">utils::GameRoot3D::register_spawn_point</a></div><div class="ttdeci">void register_spawn_point(SpawnPoint3D *spawn_point)</div><div class="ttdoc">Register a spawnpoint for use when spawning players.</div><div class="ttdef"><b>Definition</b> game_root.cpp:148</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a27492f37140fa8af6c6955f2147f5521"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a27492f37140fa8af6c6955f2147f5521">utils::GameRoot3D::get_player</a></div><div class="ttdeci">IPlayer * get_player(uint32_t id)</div><div class="ttdoc">Get the player instance associated with id.</div><div class="ttdef"><b>Definition</b> game_root.cpp:215</div></div>
@ -210,9 +210,9 @@ $(document).ready(function(){initNavTree('game__root_8hpp_source.html',''); init
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a4053b12af23cef53eb294729f1cb3aa8"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a4053b12af23cef53eb294729f1cb3aa8">utils::GameRoot3D::unload_all_levels</a></div><div class="ttdeci">void unload_all_levels()</div><div class="ttdoc">Unload all currently loaded levels.</div><div class="ttdef"><b>Definition</b> game_root.cpp:135</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a453c8aa3920d7d0adaf2490c63a7d92c"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a453c8aa3920d7d0adaf2490c63a7d92c">utils::GameRoot3D::replace_levels</a></div><div class="ttdeci">void replace_levels(gd::Ref&lt; gd::PackedScene &gt; level)</div><div class="ttdoc">Replace all currently loaded levels with a new level.</div><div class="ttdef"><b>Definition</b> game_root.cpp:143</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a623230c72ced578d7be1b9141b54fbd4"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a623230c72ced578d7be1b9141b54fbd4">utils::GameRoot3D::rng</a></div><div class="ttdeci">gd::RandomNumberGenerator rng</div><div class="ttdoc">Global random number generator.</div><div class="ttdef"><b>Definition</b> game_root.hpp:145</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a723e28059a9dbef959525d22e9556c5b"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a723e28059a9dbef959525d22e9556c5b">utils::GameRoot3D::game_mode</a></div><div class="ttdeci">GameMode * game_mode</div><div class="ttdoc">Current active gamemode.</div><div class="ttdef"><b>Definition</b> game_root.hpp:160</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a723e28059a9dbef959525d22e9556c5b"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a723e28059a9dbef959525d22e9556c5b">utils::GameRoot3D::game_mode</a></div><div class="ttdeci">GameMode * game_mode</div><div class="ttdoc">Current active gamemode.</div><div class="ttdef"><b>Definition</b> game_root.hpp:162</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a77e4726bb8fec522669cbb2c068e47d9"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a77e4726bb8fec522669cbb2c068e47d9">utils::GameRoot3D::is_valid_level</a></div><div class="ttdeci">static bool is_valid_level(gd::Ref&lt; gd::PackedScene &gt; &amp;level)</div><div class="ttdoc">Check if a scene is a valid level.</div><div class="ttdef"><b>Definition</b> game_root.cpp:307</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a800421c3b82947156eebcbf730a680db"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a800421c3b82947156eebcbf730a680db">utils::GameRoot3D::levels</a></div><div class="ttdeci">gd::HashMap&lt; gd::StringName, Level3D * &gt; levels</div><div class="ttdoc">All currently active levels.</div><div class="ttdef"><b>Definition</b> game_root.hpp:151</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a800421c3b82947156eebcbf730a680db"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a800421c3b82947156eebcbf730a680db">utils::GameRoot3D::levels</a></div><div class="ttdeci">gd::HashMap&lt; gd::StringName, Level3D * &gt; levels</div><div class="ttdoc">All currently active levels.</div><div class="ttdef"><b>Definition</b> game_root.hpp:152</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a85eee9cb258971abe9fe8577314b2556"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a85eee9cb258971abe9fe8577314b2556">utils::GameRoot3D::player_input_connected</a></div><div class="ttdeci">void player_input_connected()</div><div class="ttdoc">Instantiate a new PlayerInput.</div><div class="ttdef"><b>Definition</b> game_root.cpp:53</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a865e6d9fe4f9422c0fb974bd6b1222ce"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a865e6d9fe4f9422c0fb974bd6b1222ce">utils::GameRoot3D::initialize_player</a></div><div class="ttdeci">bool initialize_player(IPlayer *player, uint32_t id)</div><div class="ttdoc">Initialize and register a player instance.</div><div class="ttdef"><b>Definition</b> game_root.cpp:84</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_a896b4e4d3b9465a83a10249dbd559662"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#a896b4e4d3b9465a83a10249dbd559662">utils::GameRoot3D::get_game_mode</a></div><div class="ttdeci">GameMode * get_game_mode() const</div><div class="ttdoc">get the current active game mode.</div><div class="ttdef"><b>Definition</b> game_root.cpp:203</div></div>
@ -220,18 +220,18 @@ $(document).ready(function(){initNavTree('game__root_8hpp_source.html',''); init
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_aa5935fb96c553c10db8def10c8d3b5ed"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#aa5935fb96c553c10db8def10c8d3b5ed">utils::GameRoot3D::set_game_mode</a></div><div class="ttdeci">void set_game_mode(gd::Ref&lt; gd::PackedScene &gt; prototype)</div><div class="ttdoc">Override the current gamemode.</div><div class="ttdef"><b>Definition</b> game_root.cpp:177</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_aa9ed453a0b416641dfa5154a0b69c79e"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#aa9ed453a0b416641dfa5154a0b69c79e">utils::GameRoot3D::get_levels</a></div><div class="ttdeci">gd::HashMap&lt; gd::StringName, Level3D * &gt; &amp; get_levels()</div><div class="ttdoc">Returns all currently active levels.</div><div class="ttdef"><b>Definition</b> game_root.cpp:211</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_ab3895b9b48c4646a876e188d226c5723"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#ab3895b9b48c4646a876e188d226c5723">utils::GameRoot3D::find_empty_player_slot</a></div><div class="ttdeci">uint32_t find_empty_player_slot() const</div><div class="ttdoc">Find a Player Input device not yet associated with a player.</div><div class="ttdef"><b>Definition</b> game_root.cpp:274</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_abf16d0f3b8030b758942397dcff1d46a"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#abf16d0f3b8030b758942397dcff1d46a">utils::GameRoot3D::first_boot_level</a></div><div class="ttdeci">gd::Ref&lt; gd::PackedScene &gt; first_boot_level</div><div class="ttdoc">The level to boot into on startup.</div><div class="ttdef"><b>Definition</b> game_root.hpp:171</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_abf16d0f3b8030b758942397dcff1d46a"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#abf16d0f3b8030b758942397dcff1d46a">utils::GameRoot3D::first_boot_level</a></div><div class="ttdeci">gd::Ref&lt; gd::PackedScene &gt; first_boot_level</div><div class="ttdoc">The level to boot into on startup.</div><div class="ttdef"><b>Definition</b> game_root.hpp:174</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_acbec3f7b39c8c991a725e611dd8b869e"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#acbec3f7b39c8c991a725e611dd8b869e">utils::GameRoot3D::load_level</a></div><div class="ttdeci">Level3D * load_level(gd::Ref&lt; gd::PackedScene &gt; level)</div><div class="ttdoc">shorthand for load_level(level, Transform3D())</div><div class="ttdef"><b>Definition</b> game_root.cpp:102</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_acf48cbe3b2b6dd064cd1665ea8df2b9a"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#acf48cbe3b2b6dd064cd1665ea8df2b9a">utils::GameRoot3D::players</a></div><div class="ttdeci">gd::HashMap&lt; uint32_t, gd::Pair&lt; PlayerInput *, IPlayer * &gt; &gt; players</div><div class="ttdoc">All players by id by input device.</div><div class="ttdef"><b>Definition</b> game_root.hpp:140</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_ad1c9387dee7919a8ab5d60b19cba2140"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#ad1c9387dee7919a8ab5d60b19cba2140">utils::GameRoot3D::get_singleton</a></div><div class="ttdeci">static GameRoot3D * get_singleton()</div><div class="ttdoc">get the current active singleton instance of GameRoot</div><div class="ttdef"><b>Definition</b> game_root.cpp:31</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_ad53d50b5b35e4c13bf84f2d9c0f45a0b"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#ad53d50b5b35e4c13bf84f2d9c0f45a0b">utils::GameRoot3D::load_level_at</a></div><div class="ttdeci">Level3D * load_level_at(gd::Ref&lt; gd::PackedScene &gt; level, gd::Transform3D at)</div><div class="ttdoc">Load a level, only works if 'level' is a valid scene where the root Node can cast to 'Level3D'.</div><div class="ttdef"><b>Definition</b> game_root.cpp:106</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_ad62b2be46770ba99aa6c2a7800c52aa8"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#ad62b2be46770ba99aa6c2a7800c52aa8">utils::GameRoot3D::game_state_prototype</a></div><div class="ttdeci">gd::Ref&lt; GameState &gt; game_state_prototype</div><div class="ttdoc">The default game state data.</div><div class="ttdef"><b>Definition</b> game_root.hpp:177</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_ad62b2be46770ba99aa6c2a7800c52aa8"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#ad62b2be46770ba99aa6c2a7800c52aa8">utils::GameRoot3D::game_state_prototype</a></div><div class="ttdeci">gd::Ref&lt; GameState &gt; game_state_prototype</div><div class="ttdoc">The default game state data.</div><div class="ttdef"><b>Definition</b> game_root.hpp:181</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_adc4455c11d39f8a267091f29ead441ee"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#adc4455c11d39f8a267091f29ead441ee">utils::GameRoot3D::release_singleton</a></div><div class="ttdeci">void release_singleton()</div><div class="ttdoc">Attempt to stop being the active singleton instance.</div><div class="ttdef"><b>Definition</b> game_root.cpp:266</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_add087bf071383383e68e919173670c47"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#add087bf071383383e68e919173670c47">utils::GameRoot3D::reset_game_mode</a></div><div class="ttdeci">void reset_game_mode()</div><div class="ttdoc">Un-set game mode.</div><div class="ttdef"><b>Definition</b> game_root.cpp:98</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_af176a558f2a3b972c970087c2a1e3d7b"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#af176a558f2a3b972c970087c2a1e3d7b">utils::GameRoot3D::get_players</a></div><div class="ttdeci">gd::Vector&lt; IPlayer * &gt; get_players()</div><div class="ttdoc">Get all players in a list.</div><div class="ttdef"><b>Definition</b> game_root.cpp:219</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_af34016620adcdc2654358b463769a85f"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#af34016620adcdc2654358b463769a85f">utils::GameRoot3D::level_unloaded</a></div><div class="ttdeci">void level_unloaded(gd::StringName scene_path)</div><div class="ttdoc">Callback for a level exiting the tree.</div><div class="ttdef"><b>Definition</b> game_root.cpp:303</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_af508cc9852b123ea37b94651da0f3c19"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#af508cc9852b123ea37b94651da0f3c19">utils::GameRoot3D::next_player_id</a></div><div class="ttdeci">uint32_t next_player_id</div><div class="ttdoc">Next available player ID.</div><div class="ttdef"><b>Definition</b> game_root.hpp:135</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_af73d3a598b72fcdc7dce372ea3af6e44"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#af73d3a598b72fcdc7dce372ea3af6e44">utils::GameRoot3D::game_state</a></div><div class="ttdeci">gd::Ref&lt; GameState &gt; game_state</div><div class="ttdoc">Active game state.</div><div class="ttdef"><b>Definition</b> game_root.hpp:166</div></div>
<div class="ttc" id="aclassutils_1_1GameRoot3D_html_af73d3a598b72fcdc7dce372ea3af6e44"><div class="ttname"><a href="classutils_1_1GameRoot3D.html#af73d3a598b72fcdc7dce372ea3af6e44">utils::GameRoot3D::game_state</a></div><div class="ttdeci">gd::Ref&lt; GameState &gt; game_state</div><div class="ttdoc">Active game state.</div><div class="ttdef"><b>Definition</b> game_root.hpp:169</div></div>
<div class="ttc" id="aclassutils_1_1GameState_html"><div class="ttname"><a href="classutils_1_1GameState.html">utils::GameState</a></div><div class="ttdoc">Parent class for saved game state.</div><div class="ttdef"><b>Definition</b> game_state.hpp:11</div></div>
<div class="ttc" id="aclassutils_1_1IPlayer_html"><div class="ttname"><a href="classutils_1_1IPlayer.html">utils::IPlayer</a></div><div class="ttdoc">Interface required for player nodes.</div><div class="ttdef"><b>Definition</b> player.hpp:19</div></div>
<div class="ttc" id="aclassutils_1_1Level3D_html"><div class="ttname"><a href="classutils_1_1Level3D.html">utils::Level3D</a></div><div class="ttdoc">3D level root to be used with GameRoot3D.</div><div class="ttdef"><b>Definition</b> level.hpp:14</div></div>