Esempio n. 1
0
 void ChangeState(ISceneState sceneState)
 {
     if (m_state != null)
     {
         m_state.SceneEnd();
     }
     m_state = sceneState;
     m_state.SceneBegin();
 }