internal bool isHit(Figure figure) { foreach(var point in points) { if (figure.isHit(point)) return true; } return false; }
internal bool isHit(Figure figure) { foreach (Point point in pList) { if (figure.isHit(point)) { return(true); } } return(false); }
public bool isHit(Figure f) { foreach (Point p in pList) { if (f.isHit(p)) { return(true); } } ; return(false); }