My first post on gamedev :) And my first go at game dev :D
To ease me in, I'm starting with a lemmings clone.
I have my lemmings moving about and already have a MouseAdapter
for moving around the map with the mouse.
In order to detect when the mouse is over a lemming I thought the easiest way
would be to override the mouseMoved
method. This would iterator over the lemmings and check if the mouse coords are in the lemmings rectangle. Is the normal way to do this?
I realised this wouldn't work for a lemming walking under/past the mouse cursor.