Ejemplo n.º 1
0
    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;
        }
    }