private void HSInput() { if (releasedKeys.Contains(Keys.Space) || releasedKeys.Contains(Keys.Enter) || releasedKeys.Contains(Keys.Escape)) { activeS.Hide(); activeS = startS; activeS.Show(); } }
/** * Start Screen input */ private void SSInput() { if (releasedKeys.Contains(Keys.Enter)) { switch (startS.selectIndex) { case 0: inMenu = false; CreateGame(); beginGame(); break; case 1: inMenu = false; activeS.Hide(); //activeS.Show(); break; case 2: activeS.Hide(); activeS = helpS; activeS.Show(); break; case 3: Exit(); break; } } }