public bool Intersects(ICollider collider) { var thisBox = this.GetHitbox(); var thatBox = collider.GetHitbox(); return(thisBox.Intersects(thatBox)); }
public bool Intersects(ICollider collider) { var thisBox = this.GetHitbox(); var thatBox = collider.GetHitbox(); return(thisBox.Intersects(thatBox)); }