Пример #1
0
 /// <summary>
 /// Release the background screen from covering.
 /// </summary>
 protected void resume()
 {
     if (m_isPausing)
     {
         ScreensManager.PopBack();
     }
     else
     {
         bool v_EraseThisCover = true;
         m_backgroundGameScreen.ScreensManager.MoveTo(m_backgroundGameScreen, v_EraseThisCover);
     }
 }
Пример #2
0
 /// <summary>
 /// Close this screen.
 /// </summary>
 /// <param name="i_GameTime">Game Time.</param>
 public virtual void Close(GameTime i_GameTime = null)
 {
     ScreensManager.PopBack();
     Dispose();
 }