I have been trying to work on collision detection between 2 rectangles for quite some time now and am unable to do it. I don't get how to implement getters and setters. I get the whole concept but I'm still sort of new, in a way, to java. I guess what I am asking is if someone can post a snippet of code showing the collision detection between 2 rectangles in a java applet. Thanks :)
Re: Collision Detection
A quick google session for "Collision Detection Java" produced at least 4 links very high in the results that would be beneficial to you. What have you tried?
You've posted in the What's Wrong With My Code subforum, usually you'd have some code to post along with some questions.