Ejemplo n.º 1
0
        private void GenerateAdditionalConnections()
        {
            if (connectionDegree == 0)
            {
                return;
            }
            List <Room[]> roomTuples = GraphProcessor.GenerateAdditionalConnections(roomsGraph, roomDistance.y, connectionDegree);

            foreach (var tuple in roomTuples)
            {
                TryConnectingRooms(tuple[0], tuple[1]);
            }
        }