parent
4ed6f4e7d9
commit
4bbaab1a2a
@ -0,0 +1,17 @@
|
||||
namespace Babushka.scripts.CSharp.Common.Savegame;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the behaviour of Nodes that have fields that should save / load to disk.
|
||||
/// </summary>
|
||||
public interface ISaveable
|
||||
{
|
||||
/// <summary>
|
||||
/// Adds or updates the field data that shall be stored to disk.
|
||||
/// </summary>
|
||||
public void UpdateSaveData();
|
||||
|
||||
/// <summary>
|
||||
/// Loads the field data from disk.
|
||||
/// </summary>
|
||||
public void LoadFromSaveData();
|
||||
}
|
||||
Loading…
Reference in new issue