new: damage can now be dealt to units using DamageSources
This commit is contained in:
10
Assets/Scripts/Player/IKillable.cs
Normal file
10
Assets/Scripts/Player/IKillable.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Reset.Core;
|
||||
|
||||
namespace Reset.Units{
|
||||
public interface IKillable : IDamageable{
|
||||
public void Kill();
|
||||
|
||||
public float maxHealth{ get; set; }
|
||||
public float currentHealth{ get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user