Exemple #1
0
 public override bool CheckCollisionWith(CircleCollider circleCollider)
 {
     return(_2DGeometry.RectangleIntersectsCircle(Bounds.Rectangle, circleCollider.Circle));
 }
Exemple #2
0
 public override bool CheckCollisionWith(CircleCollider circleCollider)
 {
     return(_2DGeometry.CircleIntersectsCircle(circleCollider.Circle, Circle));
 }