Demo på Clean Code
This commit is contained in:
5
CleanDemo/IAttackable.cs
Normal file
5
CleanDemo/IAttackable.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
public interface IAttackable {
|
||||
string Name { get; }
|
||||
bool IsDead { get; }
|
||||
void TakeDamage(int amount);
|
||||
}
|
||||
Reference in New Issue
Block a user