2024-05-29 21:05:39 +00:00
|
|
|
#ifndef UTILS_GAME_STATE_HPP
|
|
|
|
#define UTILS_GAME_STATE_HPP
|
2024-03-13 15:08:37 +00:00
|
|
|
|
2024-05-28 14:28:36 +00:00
|
|
|
#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.
|
|
|
|
*/
|
2024-05-28 14:28:36 +00:00
|
|
|
class GameState : public godot::Resource {
|
|
|
|
GDCLASS(GameState, godot::Resource);
|
2024-03-13 15:08:37 +00:00
|
|
|
static void _bind_methods();
|
|
|
|
public:
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2024-05-29 21:05:39 +00:00
|
|
|
#endif // !UTILS_GAME_STATE_HPP
|