namespace Webserver.LiveData { public class Hostiles : EntityFilterList { public static readonly Hostiles Instance = new Hostiles (); protected override EntityEnemy predicate (Entity _e) { if (_e is EntityEnemy enemy && enemy.IsAlive ()) { return enemy; } return null; } } }