Exemplo n.º 1
0
 private void level_Changed(object sender, EventArgs args)
 {
     this.m_SoundManager.PlaySoundEffect("LevelWin");
     MenuUtils.GoToScreen(this, this.ScreensManager.GetScreen("LevelTransitionScreen"));
     this.m_GameEngine.InitGameEngineForNextLevel();
     this.initSpritesForNewLevel();
 }
Exemplo n.º 2
0
 private void menuItem_Click(object sender, ScreenEventArgs args)
 {
     MenuUtils.GoToScreen(this, this.m_ScreensManager.GetScreen(args.ScreenName));
 }