19 lines
369 B
C++
19 lines
369 B
C++
#ifndef GAME_STATE_HPP
|
|
#define 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 // !GAME_STATE_HPP
|