Created ISaveable interface and made existing saveable classes inherit from it.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Babushka.scripts.CSharp.Common.Farming;
|
||||
/// Defines the behaviour of the field, i.e. interactions, states and effects.
|
||||
/// </summary>
|
||||
[GlobalClass]
|
||||
public partial class FieldBehaviour2D : Sprite2D
|
||||
public partial class FieldBehaviour2D : Sprite2D, ISaveable
|
||||
{
|
||||
[ExportGroup("Persistence")]
|
||||
[Export] public string SaveId = "";
|
||||
|
||||
Reference in New Issue
Block a user