/// <summary> /// Roll some rooms /// </summary> void RandomRooms() { for (int i = 0; i < roomCount; i++) { int temp1 = 0, temp2 = 0, temp3 = 0, temp4 = 0; RandomTool.Roll(ref temp1, ref temp2, width, 3, 6, ref rd); RandomTool.Roll(ref temp3, ref temp4, length, 3, 6, ref rd); CheckRoom(new Rooms(temp3, temp1, temp4, temp2)); } }