The post lab 1 assignment requires collision detection that is more sophisticated than what you developed in lab. Specifically, it is not sufficient to determine if two sprites intersect, but rather to determine which edges of two sprites intersect. Complete the topOverlap method in the Sprite.java class as specified in the method comments. You can use the JUnit testing file SpriteTest.java to test your code.
Submission: Tar and submit your code on the course Inquire site.