Esempio n. 1
0
    public void UpdateSceneState()
    {
        if (m_state == null || m_state.isLoaded() == false)
        {
            return;
        }

        if (m_state.isRunning() == false)
        {
            m_state.SceneStateBegin();
        }

        m_state.SceneStateUpdate();
    }
Esempio n. 2
0
 public SceneController()
 {
     m_evtCtx = new GameEventContext();
     m_state  = new LoginSceneState(this);
     m_state.SceneStateBegin();
 }