//From the Character Creator to actually starting the game private void picBCCSend_Click(object sender, EventArgs e) { if (txtCharacterCreationName.Text == "") { } else { mainVariables.Character_Name = txtCharacterCreationName.Text; firstScreen = new GameStart(mainMethods, mainVariables, mainFrame); firstScreen.Show(); this.Close(); } }
//PIC B GO FRONT private void PicBGoFront_Click(object sender, EventArgs e) { switch (mainVariables.StoryLine_Progress) { case 1: mainVariables.StoryLine_Progress++; GameStart gameStart = new GameStart(mainMethods, mainVariables, mainFrame); gameStart.Show(); this.Close(); break; case 3: main_Dialog = new Main_Dialog(mainVariables, mainMethods, "Ending", this, mainFrame); main_Dialog.Show(); break; } }