First commit for private source control. Older commits available on Github.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Cysharp.Threading.Tasks;
|
||||
|
||||
namespace BriarQueen.Framework.Services.Puzzles.Base
|
||||
{
|
||||
public interface IPuzzleStateful
|
||||
{
|
||||
/// <summary>If true, manager can mark the puzzle completed (and optionally clear state).</summary>
|
||||
bool IsCompleted { get; }
|
||||
|
||||
UniTask<byte[]> CaptureState();
|
||||
|
||||
/// <summary>Restore the puzzle from a previously captured serialized blob.</summary>
|
||||
UniTask RestoreState(byte[] state);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user