godot-cpp-utils/game_state.hpp

19 lines
387 B
C++

#ifndef UTILS_GAME_STATE_HPP
#define UTILS_GAME_STATE_HPP
#include <godot_cpp/classes/resource.hpp>
namespace utils {
/*! Parent class for saved game state.
*
* Inherit and add godot properties to save persistently.
*/
class GameState : public godot::Resource {
GDCLASS(GameState, godot::Resource);
static void _bind_methods();
public:
};
}
#endif // !UTILS_GAME_STATE_HPP