Esempio n. 1
0
 public bool Intersects(Circle circle)
 {
     return Vector2.Distance(Position, circle.Position) <= _radius + circle._radius;
 }
Esempio n. 2
0
 public Circle(Circle circle)
 {
     _x = circle._x;
     _y = circle._y;
     _radius = circle._radius;
 }