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