Renderování textu, jumpscary, win a lose screen
This commit is contained in:
parent
9bfe63a166
commit
e6128dc9f5
21 changed files with 360 additions and 84 deletions
|
|
@ -41,11 +41,6 @@ public class LurkEnemy : Enemy {
|
|||
Server.SendUpdateToAll([GameEvent.ENEMY_RESET(Id, Location.Id)]);
|
||||
}
|
||||
|
||||
public override void Attack(ServerPlayer player) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
public override void Update() {
|
||||
base.Update();
|
||||
|
||||
|
|
@ -58,7 +53,8 @@ public class LurkEnemy : 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue