Demo på Clean Code

This commit is contained in:
2026-03-08 11:55:18 +01:00
parent fe9a1e6400
commit f966c97d32
10 changed files with 227 additions and 0 deletions

5
CleanDemo/IAttackable.cs Normal file
View File

@@ -0,0 +1,5 @@
public interface IAttackable {
string Name { get; }
bool IsDead { get; }
void TakeDamage(int amount);
}