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