working on enemies
This commit is contained in:
10
Assets/jelycho/Code/Enemies/IKillable.cs
Normal file
10
Assets/jelycho/Code/Enemies/IKillable.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using RebootKit.Engine.Simulation;
|
||||
|
||||
namespace RebootReality.jelycho.Enemies {
|
||||
public interface IKillable {
|
||||
bool IsAlive();
|
||||
|
||||
// @NOTE: Returns damage dealt
|
||||
ulong OnHit(Actor attacker, ulong damage);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user