private void Update() { DebugMode.HandleInput(); switch (stateMachine.State) { case (State.GAME): gameModule.Update(); break; case (State.MENU): menuModule.Update(); break; } }
private void Update() { DebugMode.HandleInput(); switch (stateMachine.State) { case (State.GAME): gameModule.Update(); break; case (State.MENU): menuModule.Update(); break; } }