lucid-super-dream/Assets/Scripts/IDamageable.cs

10 lines
188 B
C#

using System;
namespace Weapons.Scripts
{
public interface IDamageable
{
event Action<float, bool> UpdateHealth;
void Hit(float damage, bool crit = false);
}
}