HELP! I understand that the getObjectsInRange method gives a list, but once I have that, I want my hero to move towards a specific one.
I want the enemy to: a) find the objects near it
b) see if the controlled actor - CrookCar.class is near
C) if it is, then the enemy should turn towards it
d) and then slowly move towards it
I am new to both Java and Greenfoot and was wondering if anyone could lend me some help...