Add checks to make sure that a robot destination does not overlap a
current robot location (or its destination if the other robot is moving or being dragged to a new location). Oh, I should mention that to make the calculation easier, I am treating robots as rectangles not circles. This is not ideal, but I was not sure how to calculate overlap of two circles in a reasonably efficient manner. I'm sure a high school student can tell me though.
No preview for this file type
Please register or sign in to comment