Implemented Loading function on fields and plants

This commit is contained in:
2025-11-15 22:15:02 +01:00
parent 3fcb34c04d
commit 6613e54658
11 changed files with 143 additions and 24 deletions
@@ -0,0 +1,19 @@
using Godot;
namespace Babushka.scripts.CSharp.Common.Savegame;
/// <summary>
/// This class manages the loading of the savegame throughout the gameplay flow.
/// </summary>
public partial class SaveGameManager : Node
{
public static SaveGameManager? Instance { get; private set; } = null!;
public override void _EnterTree()
{
Instance = this;
SavegameService.Load();
}
}