Hello,
I'm a bit of a noob at greenfoot. Can someone explain to me how I can get the location of and object and set it as an int? For example, object "enemy" must get the location of object "player" and store it as int playerX and int playerY.
Also say if object "tankTurret" finds the location of "tankBase" and moves straight to it. With the tank example, there may be more then one tank on screen at a time.
Anyone able to help me out with this?