public void setBox20() { ballPos = new Vector2(10, 10); passPos = new Vector2(230, 370); boxMax = 38; //不明物建構 box = new Box[boxMax]; box[0] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(800, 0)); box[1] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(0, 400)); box[2] = new ZLine(Game1.picZ1, new Vector2(800, 0), new Vector2(800, 400)); box[3] = new ZLine(Game1.picZ1, new Vector2(0, 400), new Vector2(800, 400)); //------ box[4] = new ZLine(Game1.picZ1, new Vector2(200, 400), new Vector2(200, 200)); //1 box[5] = new ZLine(Game1.picZ1, new Vector2(200, 350), new Vector2(700, 350)); //2 box[6] = new ZLine(Game1.picZ1, new Vector2(200, 200), new Vector2(650, 200)); //3 box[7] = new ZLine(Game1.picZ1, new Vector2(650, 200), new Vector2(650, 150)); //4 box[8] = new ZLine(Game1.picZ1, new Vector2(650, 150), new Vector2(200, 150)); //5 box[9] = new ZLine(Game1.picZ1, new Vector2(200, 150), new Vector2(200, 40)); //6 box[10] = new ZLine(Game1.picZ1, new Vector2(200, 40), new Vector2(0, 40)); //7 box[11] = new ZLine(Game1.picZ1, new Vector2(750, 400), new Vector2(750, 300)); //8 box[12] = new ZLine(Game1.picZ1, new Vector2(750, 300), new Vector2(700, 300)); //9 box[13] = new ZLine(Game1.picZ1, new Vector2(250, 250), new Vector2(800, 250)); //10 box[14] = new ZLine(Game1.picZ1, new Vector2(700, 250), new Vector2(700, 100)); //11 box[15] = new ZLine(Game1.picZ1, new Vector2(700, 100), new Vector2(550, 100)); //12 box[16] = new ZLine(Game1.picZ1, new Vector2(550, 100), new Vector2(550, 50)); //13 box[17] = new ZLine(Game1.picZ1, new Vector2(550, 50), new Vector2(500, 50)); //14 box[18] = new ZLine(Game1.picZ1, new Vector2(500, 50), new Vector2(500, 100)); //15 box[19] = new ZLine(Game1.picZ1, new Vector2(500, 100), new Vector2(250, 100)); //16 box[20] = new ZLine(Game1.picZ1, new Vector2(250, 100), new Vector2(250, 0)); //17 box[21] = new Zvbox(Game1.picZ2, new Vector2(580, 110), 1, 0, 4, 30, 1); //C2 box[22] = new Zvbox(Game1.picZ2, new Vector2(270, 350), 1, 1, 3, 30, 0); //C1 box[23] = new Zvbox(Game1.picZ2, new Vector2(300, 350), 1, 1, 3, 50, 0); //C1 box[24] = new Zvbox(Game1.picZ2, new Vector2(330, 350), 1, 1, 3, 80, 0); //C1 box[25] = new Zvbox(Game1.picZ2, new Vector2(450, 350), 1, 1, 4, 50, 0); //C1 box[26] = new Zvbox(Game1.picZ2, new Vector2(480, 350), 1, 1, 4, 60, 0); //C1 box[27] = new Zvbox(Game1.picZ2, new Vector2(510, 350), 1, 1, 4, 30, 0); //C1 for (int i = 28; i < 33; i++) { box[i] = new Zbox3(Game1.picZ2, new Vector2(50 * (i - 28) + 250, 250), false, 1, 30 + i, 50); } for (int i = 33; i < 38; i++) { box[i] = new Zbox3(Game1.picZ2, new Vector2(50 * (i - 33) + 250, 300), false, 1, 30 + i, 50); } }
public void setBox18() { ballPos = new Vector2(770, 370); passPos = new Vector2(350, 350); boxMax = 33; //不明物建構 box = new Box[boxMax]; box[0] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(800, 0)); box[1] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(0, 400)); box[2] = new ZLine(Game1.picZ1, new Vector2(800, 0), new Vector2(800, 400)); box[3] = new ZLine(Game1.picZ1, new Vector2(0, 400), new Vector2(800, 400)); //------ box[4] = new ZLine(Game1.picZ1, new Vector2(800, 350), new Vector2(775, 350)); //1 box[5] = new ZLine(Game1.picZ1, new Vector2(775, 350), new Vector2(775, 250)); //2 box[6] = new ZLine(Game1.picZ1, new Vector2(775, 250), new Vector2(650, 250)); //3 box[7] = new ZLine(Game1.picZ1, new Vector2(650, 250), new Vector2(650, 200)); //4 box[8] = new ZLine(Game1.picZ1, new Vector2(650, 200), new Vector2(550, 200)); //5 box[9] = new ZLine(Game1.picZ1, new Vector2(550, 200), new Vector2(550, 150)); //6 box[10] = new ZLine(Game1.picZ1, new Vector2(450, 150), new Vector2(600, 150)); //7 box[11] = new ZLine(Game1.picZ1, new Vector2(600, 150), new Vector2(600, 0)); //8 box[12] = new ZLine(Game1.picZ1, new Vector2(700, 400), new Vector2(700, 300)); //9 box[13] = new ZLine(Game1.picZ1, new Vector2(700, 300), new Vector2(600, 300)); //10 box[14] = new ZLine(Game1.picZ1, new Vector2(600, 300), new Vector2(600, 250)); //11 box[15] = new ZLine(Game1.picZ1, new Vector2(600, 250), new Vector2(500, 250)); //12 box[16] = new ZLine(Game1.picZ1, new Vector2(500, 250), new Vector2(500, 200)); //13 box[17] = new ZLine(Game1.picZ1, new Vector2(500, 200), new Vector2(400, 200)); //14 box[18] = new ZLine(Game1.picZ1, new Vector2(400, 200), new Vector2(400, 100)); //15 box[19] = new ZLine(Game1.picZ1, new Vector2(300, 100), new Vector2(400, 100)); //16 box[20] = new ZLine(Game1.picZ1, new Vector2(300, 100), new Vector2(300, 300)); //17 box[21] = new ZLine(Game1.picZ1, new Vector2(300, 300), new Vector2(400, 300)); //18 box[22] = new ZLine(Game1.picZ1, new Vector2(400, 300), new Vector2(400, 400)); //19 box[23] = new ZLine(Game1.picZ1, new Vector2(100, 0), new Vector2(100, 400)); //20 box[24] = new Zvbox(Game1.picZ2, new Vector2(500, 200), 1, 2, 1, 30, 0); //C1 box[25] = new Zvbox(Game1.picZ2, new Vector2(400, 50), 1, 2, 2, 30, 0); //C1 box[26] = new Zvbox(Game1.picZ2, new Vector2(350, 100), 1, 2, 2, 30, 0); //C1 box[27] = new Zbox2(180, 165, 16, false); //斜線 box[28] = new Zbox2(140, 50, 20, true); //斜線 box[29] = new Zbox2(340, 50, 35, false); //斜線 box[30] = new Zbox2(190, 0, 12, true); //斜線 box[31] = new Zbox3(Game1.picZ2, new Vector2(110, 0), false, 1, 50, 50); box[32] = new Zbox3(Game1.picZ2, new Vector2(130, 220), false, 1, 70, 50); }
public void setBox19() { ballPos = new Vector2(400, 350); passPos = new Vector2(100, 370); boxMax = 47; //不明物建構 box = new Box[boxMax]; box[0] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(800, 0)); box[1] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(0, 400)); box[2] = new ZLine(Game1.picZ1, new Vector2(800, 0), new Vector2(800, 400)); box[3] = new ZLine(Game1.picZ1, new Vector2(0, 400), new Vector2(800, 400)); box[4] = new ZLine(Game1.picZ1, new Vector2(450, 400), new Vector2(450, 250)); //第一條線 box[5] = new ZLine(Game1.picZ1, new Vector2(450, 250), new Vector2(200, 250)); //第二條線 box[6] = new ZLine(Game1.picZ1, new Vector2(150, 400), new Vector2(150, 150)); //第三條線 box[7] = new ZLine(Game1.picZ1, new Vector2(150, 150), new Vector2(550, 150)); //第四條線 box[8] = new ZLine(Game1.picZ1, new Vector2(550, 150), new Vector2(550, 250)); //第五條線 box[9] = new ZLine(Game1.picZ1, new Vector2(50, 100), new Vector2(50, 200)); //第六條線 box[10] = new ZLine(Game1.picZ1, new Vector2(100, 150), new Vector2(100, 250)); //第七條線 box[11] = new ZLine(Game1.picZ1, new Vector2(50, 350), new Vector2(150, 350)); //第八條線 for (int i = 12; i < 20; i++) { box[i] = new Zbox3(Game1.picZ2, new Vector2(50 * (i - 12) + 200, 250), false, 1, 10 + i, 50); } for (int i = 20; i < 28; i++) { box[i] = new Zbox3(Game1.picZ2, new Vector2(50 * (i - 20) + 200, 300), false, 1, 10 + i, 50); } for (int i = 28; i < 36; i++) { box[i] = new Zbox3(Game1.picZ2, new Vector2(50 * (i - 28) + 200, 350), false, 1, 10 + i, 50); } for (int i = 36; i < 47; i++) { box[i] = new Zvbox(Game1.picZ2, new Vector2(100 + 50 * (i - 36), 10), 1, 2, 4, 50, 0);//C1 } }
public void setBox15() { ballPos = new Vector2(140, 360); passPos = new Vector2(50, 255); boxMax = 27; //不明物建構 box = new Box[boxMax]; box[0] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(800, 0)); box[1] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(0, 400)); box[2] = new ZLine(Game1.picZ1, new Vector2(800, 0), new Vector2(800, 400)); box[3] = new ZLine(Game1.picZ1, new Vector2(0, 400), new Vector2(800, 400)); //------ box[4] = new ZLine(Game1.picZ1, new Vector2(100, 400), new Vector2(100, 350)); //1 box[5] = new ZLine(Game1.picZ1, new Vector2(100, 350), new Vector2(250, 350)); //2 box[6] = new ZLine(Game1.picZ1, new Vector2(250, 350), new Vector2(250, 150)); //3 box[7] = new ZLine(Game1.picZ1, new Vector2(250, 150), new Vector2(750, 150)); //4 box[8] = new ZLine(Game1.picZ1, new Vector2(750, 150), new Vector2(750, 40)); //5 box[9] = new ZLine(Game1.picZ1, new Vector2(750, 40), new Vector2(40, 40)); //6 box[10] = new ZLine(Game1.picZ1, new Vector2(40, 40), new Vector2(40, 150)); //7 box[11] = new ZLine(Game1.picZ1, new Vector2(40, 150), new Vector2(100, 150)); //8 box[12] = new ZLine(Game1.picZ1, new Vector2(100, 150), new Vector2(100, 300)); //9 box[13] = new ZLine(Game1.picZ1, new Vector2(100, 300), new Vector2(0, 300)); //10 box[14] = new ZLine(Game1.picZ1, new Vector2(300, 400), new Vector2(300, 190)); //11 box[15] = new ZLine(Game1.picZ1, new Vector2(300, 190), new Vector2(800, 190)); //12 box[16] = new Zbox3(Game1.picZ2, new Vector2(0, 0), false, 1, 80, 10); box[17] = new Zbox3(Game1.picZ2, new Vector2(100, 0), false, 1, 80, 50); box[18] = new Zbox3(Game1.picZ2, new Vector2(200, 0), false, 1, 80, 10); box[19] = new Zbox3(Game1.picZ2, new Vector2(300, 0), false, 1, 140, 10); box[20] = new Zbox3(Game1.picZ2, new Vector2(400, 0), false, 1, 170, 20); box[21] = new Zbox3(Game1.picZ2, new Vector2(500, 0), false, 1, 200, 10); box[22] = new Zbox3(Game1.picZ2, new Vector2(600, 0), false, 1, 230, 10); box[23] = new Zbox3(Game1.picZ2, new Vector2(650, 0), false, 1, 260, 15); box[24] = new Zbox3(Game1.picZ2, new Vector2(400, 150), false, 1, 80, 50); box[25] = new Zbox3(Game1.picZ2, new Vector2(600, 150), false, 1, 100, 50); box[26] = new Zbox3(Game1.picZ2, new Vector2(650, 150), false, 1, 100, 50); }
public void setBox9() { ballPos = new Vector2(350, 350); passPos = new Vector2(670, 370); boxMax = 25; //不明物建構 box = new Box[boxMax]; box[0] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(800, 0)); box[1] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(0, 400)); box[2] = new ZLine(Game1.picZ1, new Vector2(800, 0), new Vector2(800, 400)); box[3] = new ZLine(Game1.picZ1, new Vector2(0, 400), new Vector2(800, 400)); //------ box[4] = new ZLine(Game1.picZ1, new Vector2(250, 400), new Vector2(250, 350)); //1 box[5] = new ZLine(Game1.picZ1, new Vector2(250, 350), new Vector2(150, 350)); //2 box[6] = new ZLine(Game1.picZ1, new Vector2(150, 350), new Vector2(150, 300)); //3 box[7] = new ZLine(Game1.picZ1, new Vector2(150, 300), new Vector2(50, 300)); //4 box[8] = new ZLine(Game1.picZ1, new Vector2(50, 300), new Vector2(50, 50)); //5 box[9] = new ZLine(Game1.picZ1, new Vector2(50, 50), new Vector2(700, 50)); //6 box[10] = new ZLine(Game1.picZ1, new Vector2(700, 50), new Vector2(700, 400)); //7 box[11] = new ZLine(Game1.picZ1, new Vector2(450, 400), new Vector2(450, 250)); //8 box[12] = new ZLine(Game1.picZ1, new Vector2(450, 250), new Vector2(250, 250)); //9 box[13] = new ZLine(Game1.picZ1, new Vector2(250, 250), new Vector2(250, 150)); //10 box[14] = new ZLine(Game1.picZ1, new Vector2(250, 150), new Vector2(150, 150)); //11 box[15] = new Zbox3(Game1.picZ2, new Vector2(600, 200), true, 2, 30, 80); box[16] = new Zbox3(Game1.picZ2, new Vector2(200, 100), false, 1, 15, 50); box[17] = new Zbox3(Game1.picZ2, new Vector2(470, 280), false, 2, 40, 100); box[18] = new Zbox3(Game1.picZ2, new Vector2(480, 200), true, 1, 15, 50); box[19] = new Zvbox(Game1.picZ2, new Vector2(50, 260), 1, 2, 5, 20, 1); //C3 box[20] = new Zvbox(Game1.picZ2, new Vector2(550, 350), 1, 2, 4, 28, 1); //C3 box[21] = new Zbox3(Game1.picZ2, new Vector2(270, 70), false, 1, 20, 30); box[22] = new Zbox3(Game1.picZ2, new Vector2(300, 100), true, 1, 50, 80); box[23] = new Zbox3(Game1.picZ2, new Vector2(500, 60), true, 1, 30, 60); box[24] = new Zbox3(Game1.picZ2, new Vector2(400, 100), false, 1, 20, 50); }
public void setBox12() { ballPos = new Vector2(750, 370); passPos = new Vector2(25, 25); boxMax = 18; //不明物建構 box = new Box[boxMax]; box[0] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(800, 0)); box[1] = new ZLine(Game1.picZ1, new Vector2(0, 0), new Vector2(0, 400)); box[2] = new ZLine(Game1.picZ1, new Vector2(800, 0), new Vector2(800, 400)); box[3] = new ZLine(Game1.picZ1, new Vector2(0, 400), new Vector2(800, 400)); box[4] = new ZLine(Game1.picZ1, new Vector2(0, 100), new Vector2(600, 100)); box[5] = new ZLine(Game1.picZ1, new Vector2(100, 190), new Vector2(800, 190)); box[6] = new ZLine(Game1.picZ1, new Vector2(0, 230), new Vector2(700, 230)); box[7] = new ZLine(Game1.picZ1, new Vector2(100, 270), new Vector2(800, 270)); box[8] = new ZLine(Game1.picZ1, new Vector2(0, 310), new Vector2(500, 310)); box[9] = new ZLine(Game1.picZ1, new Vector2(800, 350), new Vector2(50, 350)); box[10] = new Zvbox(Game1.picZ2, new Vector2(200, 250), 2, 2, 4, 50, 0); //C1 box[11] = new Zvbox(Game1.picZ2, new Vector2(300, 270), 1, 1, 3, 50, 0); //C1 box[12] = new Zvbox(Game1.picZ2, new Vector2(0, 0), 2, 2, 4, 35, 0); //C1 box[13] = new Zvbox(Game1.picZ2, new Vector2(300, 0), 2, 2, 4, 40, 0); //C1 box[13] = new Zvbox(Game1.picZ2, new Vector2(330, 0), 1, 1, 3, 45, 0); //C1 box[14] = new Zvbox(Game1.picZ2, new Vector2(360, 50), 1, 1, 3, 40, 0); //C1 box[15] = new Zvbox(Game1.picZ2, new Vector2(500, 250), 1, 1, 3, 50, 0);//C1 box[16] = new Zbox3(Game1.picZ2, new Vector2(460, 60), true, 1, 35, 60); box[17] = new Zbox3(Game1.picZ2, new Vector2(460, 10), true, 1, 35, 60); }