CapersProject/Assets/02.Scripts/Interface/IDamagable.cs

14 lines
351 B
C#
Raw Normal View History

2024-06-03 18:26:03 +00:00
namespace BlueWater.Interfaces
{
public interface IDamageable
{
int MaxHealthPoint { get; }
int CurrentHealthPoint { get; }
void SetCurrentHealthPoint(int changedHealthPoint);
bool CanDamage();
void TakeDamage(int damageAmount);
void TryTakeDamage(int damageAmount);
2024-06-03 18:26:03 +00:00
void Die();
}
}