CapersProject/Assets/02.Scripts/BlueWater/Interface/IDamagable.cs
2025-02-10 11:13:46 +09:00

16 lines
433 B
C#

namespace DDD.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();
}
}