godot-cpp-utils/game_state.hpp

19 lines
369 B
C++
Raw Normal View History

#ifndef GAME_STATE_HPP
#define GAME_STATE_HPP
#include <godot_cpp/classes/resource.hpp>
namespace utils {
2024-05-29 18:23:59 +00:00
/*! 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 // !GAME_STATE_HPP