public static bool CheckForCollisionWithSightRect(ICollidable collidableObj, IHasSight hasSightObj) { return(collidableObj.BoundingBox.Intersects(hasSightObj.SightRect)); }
public static bool CheckForCollisionWithSightRect(ICollidable collidableObj, IHasSight hasSightObj) { return collidableObj.BoundingBox.Intersects(hasSightObj.SightRect); }