internal void RegisterPortal(ToolkitGateway thing) { _portals.Add(thing); }
internal bool TryGetRandomAnimalPortal(Map map, out ToolkitGateway portal) { _portals.Where(p => p.ForAnimals).Where(p => p.Map?.Equals(map) == true).TryRandomElement(out portal); return(portal != null); }
internal void RemovePortal(ToolkitGateway thing) { _portals.Remove(thing); }