Character-code-sample/Interfaces/IDamageable.cs

7 lines
90 B
C#

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