Created ISaveable interface and made existing saveable classes inherit from it.
This commit is contained in:
@@ -7,7 +7,7 @@ using Babushka.scripts.CSharp.Common.Savegame;
|
||||
|
||||
namespace Babushka.scripts.CSharp.Common.Inventory;
|
||||
|
||||
public partial class InventoryInstance : Node
|
||||
public partial class InventoryInstance : Node, ISaveable
|
||||
{
|
||||
private List<InventorySlot> _slots = new();
|
||||
public IReadOnlyList<InventorySlot> Slots => _slots;
|
||||
|
||||
Reference in New Issue
Block a user