Exemplo n.º 1
0
    // Each State enables the input elements it needs and deactivates them if the state gets changed
    private void DisableInputElements()
    {
        drinkSelection.SetUserCanInput(false);

        confirmButton.SetUserCanInput(false);
        abortButton.SetUserCanInput(false);

        SetMoneyButtonEnabled(false);
    }