예제 #1
0
 public TeleportDestination(MapLocation destination, MapIndex index, Coordinate coordinates, IEnumerable <TeleportIndex> teleports = null, ExitTeleportIndex exits = ExitTeleportIndex.None)
 {
     Destination = destination;
     Index       = index;
     CoordinateX = coordinates.X;
     CoordinateY = coordinates.Y;
     Teleports   = teleports?.ToList() ?? new List <TeleportIndex>();
     Exit        = exits;
 }
예제 #2
0
 public TeleportDestination(MapLocation destination, MapIndex index, Coordinate coordinates, ExitTeleportIndex exit)
     : this(destination, index, coordinates, exits : exit)
 {
 }