Exemple #1
0
 public new point IsHit(point head)
 {
     if (head.IsHit(pList.First()))
         return pList.First();
     if (head.IsHit(pList.Last()))
         return pList.Last();
     return null;
 }
Exemple #2
0
 public bool IsHit(point p)
 {
     foreach (var point in pList)
     {
         if (p.IsHit(point))
             return true;
     }
     return false;
 }