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

10 lines
188 B
C#
Raw Normal View History

2021-01-05 13:10:20 +01:00
using System;
namespace Weapons.Scripts
{
public interface IDamageable
{
event Action<float, bool> UpdateHealth;
void Hit(float damage, bool crit = false);
}
}