Пример #1
0
 void UnPause()
 {
     if (m_PauseMenu != null)
     {
         m_PauseSeconds += m_PauseMenu.Elapsed;
         m_PauseMenu = null;
     }
 }
Пример #2
0
 public void Pause()
 {
     if (m_PauseMenu == null)
     {
         m_PauseMenu = new PauseMenu(Game.ScreenWidth, Game.ScreenHeight);
         //m_SoundManager.PlayMenuAccept();
     }
 }