Check if objects are within a path
<p>I'm doing a simple game with some moving dots. The player draws a closed shape around some of the moving dots and if all dots are of the same type, then there is a score to the player. The path is in points and stored into an arraylist. My question is, how do I check if there is objects within the path?</p>

<p>EDIT: Could it be done with Region class and the method inside(int x, int y) ??</p>
