void UnPause() { if (m_PauseMenu != null) { m_PauseSeconds += m_PauseMenu.Elapsed; m_PauseMenu = null; } }
public void Pause() { if (m_PauseMenu == null) { m_PauseMenu = new PauseMenu(Game.ScreenWidth, Game.ScreenHeight); //m_SoundManager.PlayMenuAccept(); } }