using System; using System.Collections.Generic; namespace AllocsFixes.LiveData { public class Hostiles : EntityFilterList { public static readonly Hostiles Instance = new Hostiles (); override protected EntityEnemy predicate (Entity _e) { if (_e is EntityEnemy) { if (_e.IsAlive ()) { return _e as EntityEnemy; } } return null; } } }