chore: initial commit
This commit is contained in:
15
Assets/Scripts/Core/IRestoreOnSave.cs
Normal file
15
Assets/Scripts/Core/IRestoreOnSave.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace BaseGames.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// 可在存档点被"恢复"的对象契约(依赖倒置接口)。
|
||||
/// 定义于 BaseGames.Core 使世界层无需引用玩家层。
|
||||
/// </summary>
|
||||
public interface IRestoreOnSave
|
||||
{
|
||||
/// <summary>完整恢复 HP(及其他满状态资源)。</summary>
|
||||
void FullRestore();
|
||||
|
||||
/// <summary>恢复弹簧充能至满充。</summary>
|
||||
void RestoreSpring();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user