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:
parent
e5d746d597
commit
243f071a43
62 changed files with 873 additions and 1217 deletions
20
ONDClient/Enemies/ClientEnemy.cs
Normal file
20
ONDClient/Enemies/ClientEnemy.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue