First commit
This commit is contained in:
14
Core/IHealthView.cs
Normal file
14
Core/IHealthView.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Core
|
||||
{
|
||||
public interface IHealthView
|
||||
{
|
||||
int CurrentHP { get; }
|
||||
int MaxHP { get; }
|
||||
bool IsDead { get; }
|
||||
|
||||
event Action<int, int> HPChanged; //<Max,Current>
|
||||
event Action Died;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user