Example #1
0
 public bool isHit(Figura f)
 {
     foreach(var p in pLine)
     {
         if (f.isHit(p)) return true;
     }
     return false;
 }
Example #2
0
 internal bool isHit(Figura figura)
 {
     foreach(var wall in woollList)
     { 
          if (wall.isHit(figura)) return true;
     }
     return false;
 }