internal bool IsHit( Figure figure) { foreach( var wall in wallList) { if (wall.IsHit(figure)) return true; } return false; }
internal bool IsHit( Figure figure) { foreach(var p in pList) { if (figure.IsHit(p)) return true; } return false; }