예제 #1
0
 internal void RegisterPortal(ToolkitGateway thing)
 {
     _portals.Add(thing);
 }
예제 #2
0
        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);
        }
예제 #3
0
 internal void RemovePortal(ToolkitGateway thing)
 {
     _portals.Remove(thing);
 }