chore: doxygen documentation for level3d

stripped
Sara 2024-05-29 17:36:44 +02:00
parent 88bd934d28
commit 1dd79c57db
1 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@
namespace gd = godot; namespace gd = godot;
namespace utils { namespace utils {
/*! 3D level root to be used with GameRoot3D.
*
* The configured game mode will become the active GameMode in GameRoot3D if one does not exist yet.
*/
class Level3D : public gd::Node3D { class Level3D : public gd::Node3D {
GDCLASS(Level3D, gd::Node3D); GDCLASS(Level3D, gd::Node3D);
static void _bind_methods(); static void _bind_methods();
@ -14,7 +18,7 @@ public:
void set_game_mode_prototype(gd::Ref<GameMode> prototype); void set_game_mode_prototype(gd::Ref<GameMode> prototype);
gd::Ref<GameMode> get_game_mode_prototype() const; gd::Ref<GameMode> get_game_mode_prototype() const;
private: private:
gd::Ref<GameMode> game_mode_prototype{}; gd::Ref<GameMode> game_mode_prototype{}; //!< The starting state of the game mode to instantiate if this is the "leading" level.
}; };
} }