Exemplo n.º 1
0
		private void ShowHowToPlaySubMenu()
		{
			if(howToPlay == null)
				howToPlay = new HowToPlaySubMenu(this, menuTheme);
			howToPlay.Show();
			Hide();
		}
Exemplo n.º 2
0
		//ncrunch: no coverage start, best tested visually
		private void ShowHowToPlaySubMenu()
		{
			if (howToPlay == null)
				howToPlay = new HowToPlaySubMenu(this, menuTheme);
			howToPlay.Show();
			if(!EnterSound.IsAnyInstancePlaying)
				EnterSound.Play();
			Hide();
		}
Exemplo n.º 3
0
 //ncrunch: no coverage start
 private void ShowHowToPlaySubMenu()
 {
     if (howToPlay == null)
     {
         howToPlay = new HowToPlaySubMenu(this, menuTheme);
     }
     howToPlay.Show();
     Hide();
 }
Exemplo n.º 4
0
 //ncrunch: no coverage start, best tested visually
 private void ShowHowToPlaySubMenu()
 {
     if (howToPlay == null)
     {
         howToPlay = new HowToPlaySubMenu(this, menuTheme);
     }
     howToPlay.Show();
     if (!EnterSound.IsAnyInstancePlaying)
     {
         EnterSound.Play();
     }
     Hide();
 }
Exemplo n.º 5
0
 //ncrunch: no coverage start
 private void ShowHowToPlaySubMenu()
 {
     if (howToPlay == null)
         howToPlay = new HowToPlaySubMenu(this, menuTheme,
             (int)AsteroidsRenderLayer.UserInterface + 10);
     howToPlay.Show();
     Hide();
 }