#ifndef GAME_MODE_H #define GAME_MODE_H #include #include #include "game_state.hpp" namespace godot { class GameMode : public Resource { GDCLASS(GameMode, Resource); static void _bind_methods(); public: virtual void _begin(); virtual void _end(); void set_player_scene(Ref scene); Ref get_player_scene() const; void set_game_state(Ref state); Ref get_game_state(); private: Ref player_scene{}; Ref game_state{}; }; } #endif // !GAME_MODE_H