//Picks a list of random rooms based on a list of door configurations
    private List <MapRoom> GenerateRoomList(List <DoorConfiguration> doorconfig)
    {
        List <MapRoom> rooms = new List <MapRoom>();
        int            index = 0;

        foreach (DoorConfiguration config in doorconfig)
        {
            if (index == 0)
            {
                rooms.Add(data.PullStartRoom(config));
            }
            else if (index == doorconfig.Count - 1)
            {
                rooms.Add(data.PullEndRoom(config));
            }
            else
            {
                rooms.Add(data.PullRandomRoom(config));
            }
            index += 1;
        }

        return(rooms);
    }