✨ Implemented Loading function on fields and plants
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user