Exemplo n.º 1
0
Arquivo: Meaning.cs Projeto: kreed/qz
 public Meaning GetCorrect(Word word)
 {
     if (Moved && word.Rect.Y - 15 < Rect.Y &&
         word.Rect.Y + 25 > Rect.Y)
     {
         return(this);
     }
     if (word.Meaning.Equals(Next))
     {
         return(null);
     }
     return(Next.GetCorrect(word));
 }
Exemplo n.º 2
0
 public bool TestCorrect()
 {
     return(Pair(Meaning.GetCorrect(this)) != null);
 }