Oprava spawnování monster, optimalizace v CommandProcessor a EventProcessor. Přesunutí některých tříd do vlastních namespaců, pročištění kódu, úpravy formátování, odstranění nepoužívaných souborů a zakomentovaného kódu

This commit is contained in:
Perry 2026-03-28 09:59:31 +01:00
parent e5d746d597
commit 243f071a43
62 changed files with 873 additions and 1217 deletions

View file

@ -0,0 +1,20 @@
using GlobalClassLib;
using ONDClient.GUI;
using ONDClient.Map;
namespace ONDClient.Enemies;
public class ClientEnemy : GlobalEnemy<MapTileProjection, TileConnectorProjection> {
public UIElement Sprite { get; set; }
public override string Name{ get; }
public override EnemyType Type{ get; }
public JumpscareUIElement JumpscareSprite { get; set; }
public ClientEnemy(EnemyType type, string name, int id, EnemyUIElement sprite, MapTileProjection location, JumpscareUIElement jumpscareSprite) : base(id) {
Name = name;
Type = type;
Sprite = sprite;
Location = location;
JumpscareSprite = jumpscareSprite;
}
}