Renderování textu, jumpscary, win a lose screen

This commit is contained in:
Perry 2026-03-09 20:05:21 +01:00
parent 9bfe63a166
commit e6128dc9f5
21 changed files with 360 additions and 84 deletions

View file

@ -33,11 +33,6 @@ public class NekoEnemy : Enemy {
Server.SendUpdateToAll([GameEvent.ENEMY_RESET(Id, Location.Id)]);
}
public override void Attack(ServerPlayer player) {
throw new NotImplementedException();
}
public override void Update() {
base.Update();
@ -50,7 +45,8 @@ public class NekoEnemy : Enemy {
Console.WriteLine($"Enemy {TypeId} ({Name}) moving to {Location.PositionAsString})");
break;
case Pathfinder.Decision.AttackType:
throw new NotImplementedException();
Attack(decision.attackTarget!);
break;
case Pathfinder.Decision.ResetType:
Reset();
break;