2023-08-12 15:01:22 -07:00
|
|
|
using Godot;
|
|
|
|
|
|
|
|
namespace SupaLidlGame.Utils;
|
|
|
|
|
2024-10-17 13:29:47 -07:00
|
|
|
public partial class Save : Resource, ISave
|
2023-08-12 15:01:22 -07:00
|
|
|
{
|
|
|
|
[Export]
|
|
|
|
public State.Global.Progression Progression { get; set; }
|
|
|
|
|
|
|
|
[Export]
|
|
|
|
public State.Global.MapState MapState { get; set; }
|
|
|
|
|
|
|
|
[Export]
|
|
|
|
public State.Global.Stats Stats { get; set; }
|
|
|
|
|
2024-10-18 11:10:34 -07:00
|
|
|
[Export]
|
|
|
|
public ulong TimeElapsed { get; set; }
|
|
|
|
|
2023-08-12 15:01:22 -07:00
|
|
|
public Save()
|
|
|
|
{
|
|
|
|
Progression = new();
|
|
|
|
MapState = new();
|
|
|
|
Stats = new();
|
2024-10-18 11:10:34 -07:00
|
|
|
TimeElapsed = 0;
|
2023-08-12 15:01:22 -07:00
|
|
|
}
|
|
|
|
}
|