示例#1
0
    public void MarkButtonParAsFalse(SpaceFillButton fill, SpaceFilledButton filled)
    {
        fill.MakeFalseAnimation();

        filled.MakeFalseAnimation();

        DecreaseScore();
    }
示例#2
0
    public void MarkButtonPairAsCorrect(SpaceFillButton fill, SpaceFilledButton filled)
    {
        fill.IsFill     = true;
        filled.IsFilled = true;

        fill.MakeCorrectAnimation();
        filled.MakeCorrectAnimation();

        IncreaseScore();
    }
示例#3
0
 public void WordDroppedOnDescription(SpaceFillButton fill, SpaceFilledButton filled)
 {
     if (wordSets.IsCorrect(fill.wordText.text, filled.descriptionText.text))
     {
         MarkButtonPairAsCorrect(fill, filled);
     }
     else
     {
         MarkButtonParAsFalse(fill, filled);
     }
 }