chore():整理了一下文件夹和玩家的血量逻辑
This commit is contained in:
8
Assets/Script/Gameplay/Interface/IDamageable.cs
Normal file
8
Assets/Script/Gameplay/Interface/IDamageable.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Interface
|
||||
{
|
||||
public interface IDamageable
|
||||
{
|
||||
public void TakeDamage(int damage);
|
||||
public void Heal(int heal);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user