using FNAF_Server.Map; using GlobalClassLib; namespace FNAF_Server.Enemies; public abstract class Enemy : GlobalEnemy { protected Enemy(int difficulty) : base(difficulty) { } public abstract bool BlocksTile { get; set; } public bool Spawned { get; set; } public virtual void SpawnSilent(MapTile location) { Console.WriteLine($"!!! Silent spawn not implemented for enemy {TypeId} ({Name}), reverting to regular spawn"); Spawn(location); } public override void Spawn(MapTile location) { base.Spawn(location); Spawned = true; // EnemyManager.AddEnemy(this); } public abstract void Reset(); public abstract void Attack(ServerPlayer player); }