I'm trying to make the Object "Zombie" chase the object "Player", but yet i haven't been able to let the Zombie know the Player's coordinates. Both are subclasses of "Actor" and i don't have a piece of code regarding this transfer of two integers. ( I would have tried it with the method turnTowards( int xPlayer, int yPlayer), but like already mentioned, i don't even have xPlayer and yPlayer given for the zombie.... ) Can anyone plase help me?
