2026-03-08 16:55:49 +01:00
|
|
|
using GlobalClassLib;
|
2026-03-22 18:31:05 +01:00
|
|
|
using ONDClient.GUI;
|
|
|
|
|
using ONDClient.Map;
|
2026-03-08 16:55:49 +01:00
|
|
|
|
2026-03-28 09:59:31 +01:00
|
|
|
namespace ONDClient.Enemies;
|
2026-03-08 16:55:49 +01:00
|
|
|
|
|
|
|
|
public class ClientEnemy : GlobalEnemy<MapTileProjection, TileConnectorProjection> {
|
2026-03-28 09:59:31 +01:00
|
|
|
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) {
|
2026-03-08 16:55:49 +01:00
|
|
|
Name = name;
|
2026-03-28 09:59:31 +01:00
|
|
|
Type = type;
|
2026-03-08 16:55:49 +01:00
|
|
|
Sprite = sprite;
|
|
|
|
|
Location = location;
|
2026-03-09 20:05:21 +01:00
|
|
|
JumpscareSprite = jumpscareSprite;
|
2026-03-28 09:59:31 +01:00
|
|
|
}
|
2026-03-08 16:55:49 +01:00
|
|
|
}
|