public void OnTappedLetter(ClickableLetter clickableLetter) { if (clickableLetter.enabled && clickableLetter.Letter == LetterToGuess.Value[0]) { HandleCorrectLetterClick(clickableLetter); } }
public void HandleCorrectLetterClick(ClickableLetter clickableLetter) { clickableLetter.Color = Color.green; clickableLetter.enabled = false; if (GuessAnswers.Value >= CorrectAnswers.Value) { MoveToNextLetter(); } }
internal void HandleCorrectLetterClick(ClickableLetter clickableLetter) { GuessAnswers.Value += 1; TappedCorrectLetterEvent.Raise(clickableLetter); }