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; }
public TeleportDestination(MapLocation destination, MapIndex index, Coordinate coordinates, ExitTeleportIndex exit) : this(destination, index, coordinates, exits : exit) { }