private void ShowHowToPlaySubMenu() { if(howToPlay == null) howToPlay = new HowToPlaySubMenu(this, menuTheme); howToPlay.Show(); Hide(); }
//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(); }
//ncrunch: no coverage start private void ShowHowToPlaySubMenu() { if (howToPlay == null) { howToPlay = new HowToPlaySubMenu(this, menuTheme); } howToPlay.Show(); Hide(); }
//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(); }
//ncrunch: no coverage start private void ShowHowToPlaySubMenu() { if (howToPlay == null) howToPlay = new HowToPlaySubMenu(this, menuTheme, (int)AsteroidsRenderLayer.UserInterface + 10); howToPlay.Show(); Hide(); }