private void TransitionMenu(eMenuState prevState, eMenuState newState) { switch (newState) { case eMenuState.HOME: panelMenuHome.Enable(true); break; case eMenuState.GAME: panelGameHud.Enable(true); break; case eMenuState.RESULTS: panelGameResult.Enable(true); break; } }