Character-code-sample/IDamageable.cs

7 lines
96 B
C#

public interface IDamageable
{
void TakeDamage(int damage);
bool IsAlive();
}