CapersProject/Assets/02.Scripts/BlueWater/Interface/IDamagable.cs
2025-02-03 19:03:41 +09:00

16 lines
439 B
C#

namespace BlueWater.Interfaces
{
public interface IDamageable
{
int MaxHealthPoint { get; }
int CurrentHealthPoint { get; }
bool IsInvincible { get; }
float InvincibilityDuration { get; }
void SetCurrentHealthPoint(int changedHealthPoint);
bool CanDamage();
void TakeDamage(int damageAmount);
void TryTakeDamage(int damageAmount);
void Die();
}
}