Exemplo n.º 1
0
        public void ResetHEScreen()
        {
            m_ActiveScreen = m_DicScreen[Mode.StageEScreen];

            m_DicScreen[Mode.HomeEScreen] = null;
            HomeEScreen reset = new HomeEScreen(m_Game, m_GraphicsDevice, m_Content);
            reset.Init(m_Content);
            m_DicScreen[Mode.HomeEScreen] = reset;

            m_ActiveScreen = m_DicScreen[Mode.HomeEScreen];
        }
Exemplo n.º 2
0
 public void SelectScreen(Mode mode)
 {
     m_ActiveScreen = m_DicScreen[mode];
 }
Exemplo n.º 3
0
 public void AddScreen(Mode mode, IScreen screen, ContentManager content)
 {
     screen.Init(content);
     m_DicScreen.Add(mode, screen);
 }