public Stage03() { music = new Music("stage03.mp3"); turn = new TurnPage(); countTime = new CountTime(); river = new AnimateActor("river", 14, new Point(560, 550), 2.3f); river2 = new AnimateActor("river", 14, new Point(560, 550), 2.3f); background = new ContinuousActor("GridWall", 4, new Point(100, 340), 1f, 880, 100, 0); grid = new ContinuousActor("grid", 4, new Point(195, 700), 2, 500, 100, 0); winroad = new AnimateActor("finish", 1, new Point(1820, 530), 1.8f); //520到底 mainCharacter = new MainCharactor("dragon", 3, new Point(420, 430), 8); // size 6 pinkDragon = new PinkDragon("Pinkdragon", 3, new Point(1990, 550), 6); yellowDragon = new YellowDragon[yellow_NUM]; healthPts = new HealthPt[yellow_NUM]; for (int i = 0; i < yellow_NUM; i++) { yellowDragon[i] = new YellowDragon("yellowdragon", 2, new Point(555, 600), 4); healthPts[i] = new HealthPt("ProgressBar10", 1, new Point(1200, 500 + 100 * i), 4); } // 說明頁物件 explain = new AnimateActor("story31", 1, new Point(550, 410), 2); rNextBtn = new AnimateActor("Rnext", 1, new Point(1000, 430), 1.3f); ExplainPlayBtn = new AnimateActor("exPlay", 1, new Point(550, 630), 1); // 550 600 lNextBtn = new AnimateActor("graExpLBtn0", 1, new Point(100, 430), 1.3f); Global.target = yellowDragon[0].Enemys + yellowDragon[1].Enemys; }