示例#1
0
    private void CheckVariant(ItemButton itemButton)
    {
        bool guessWasSuccessfull = quizModeController.CheckIfWinner(itemButton.item);

        if (guessWasSuccessfull)
        {
            SwitchFromQuizToBrowse(itemButton.item);
            soundController.TellRight();
        }
        else
        {
            itemButton.MoveRedCrossForward();
            soundController.TellWrong();
        }
    }