Newbie: collision detection
Hi,
I am a newbie at this topic, I hope you can help me :)
I have a JPanel with a certain size. There are 2 objects (start- and goal-point) , simply painted with drawOval. There is a 3rd object which represents a certain barrier (drawOval again).
I now just would like to check if there is a collision if a player would go straight from start to goal point (is the barriere between start and goal?).
I read that maybe java.awt.geom.Area could help me, but I have no point where to start. Maybe you can give me some hints to tutorials or code samples?
Thanks a lot!

