Example #1
0
 public bool CollidesWith(Hitbox other)
 {
     return(CheckBoundingBoxes(other));
 }
Example #2
0
 public bool CollidesWith(Hitbox other)
 {
     return(Radius > MathUtility.DistanceRectPoint(Left + Radius, Top + Radius, other.Left, other.Top, other.Width, other.Height));
 }
Example #3
0
 public bool CollidesWith(Hitbox other)
 {
     return(other.CollidesWith(this));
 }