public void LevelChange() { //Changes XML being read levelLabelVisible = true; switch (levelNumber) { case 2: levelLabel.Text = "Level 2"; break; case 3: levelLabel.Text = "Level 3"; break; } specialWall = new SpecialWall(72, 59, 77, 10, "None", "Horizontal"); dKeyDown = false; turnCounter = true; redpowerupEnabled = true; bluepowerupEnabled = true; bluepowerupCompleted = false; rollMoveCounter = 0; moveCounter = 0; }
public void OnStart() { levelLabel.Text = "Level 1"; roll = new Roll(rollStartX, rollStartY, rollSize, "None"); doodoo = new DooDoo(doodooStartX, doodooStartY, doodooSize, "None"); specialWall = new SpecialWall(72, 59, 77, 10, "None", "Horizontal"); turnCounter = true; //GrateHitBox(); LevelReading(); }
public void OnStart() { //Display level on program start levelLabel.Text = "Level 1"; //Creates new power-up wall object specialWall = new SpecialWall(72, 59, 77, 10, "None", "Horizontal"); //Begins turn count turnCounter = true; //Reads given XML file LevelReading(); }