4#include <godot_cpp/classes/packed_scene.hpp>
5#include <godot_cpp/classes/resource.hpp>
17 static void _bind_methods();
22 void set_player_scene(gd::Ref<gd::PackedScene> scene);
23 gd::Ref<gd::PackedScene> get_player_scene()
const;
Stores session-relevant data.
Definition game_mode.hpp:15
gd::Ref< gd::PackedScene > player_scene
The scene to instantiate when spawning a player.
Definition game_mode.hpp:25
virtual void _begin()
Called when the match begins.
Definition game_mode.cpp:13
virtual void _end()
Called when the match is ending.
Definition game_mode.cpp:14