public void UpdateSceneState() { if (m_state == null || m_state.isLoaded() == false) { return; } if (m_state.isRunning() == false) { m_state.SceneStateBegin(); } m_state.SceneStateUpdate(); }
public SceneController() { m_state = new MainMenuState(this); m_state.SceneStateBegin(); }