14 lines
351 B
C#
14 lines
351 B
C#
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 damageAmonut);
|
|
void Die();
|
|
}
|
|
} |