public void MarkButtonParAsFalse(SpaceFillButton fill, SpaceFilledButton filled) { fill.MakeFalseAnimation(); filled.MakeFalseAnimation(); DecreaseScore(); }
public void MarkButtonPairAsCorrect(SpaceFillButton fill, SpaceFilledButton filled) { fill.IsFill = true; filled.IsFilled = true; fill.MakeCorrectAnimation(); filled.MakeCorrectAnimation(); IncreaseScore(); }
public void WordDroppedOnDescription(SpaceFillButton fill, SpaceFilledButton filled) { if (wordSets.IsCorrect(fill.wordText.text, filled.descriptionText.text)) { MarkButtonPairAsCorrect(fill, filled); } else { MarkButtonParAsFalse(fill, filled); } }