示例#1
0
文件: Meaning.cs 项目: 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));
 }
示例#2
0
 public bool TestCorrect()
 {
     return(Pair(Meaning.GetCorrect(this)) != null);
 }