if (!getObjectsInRange(300, Hero.class).isEmpty())
{
setImage("enemy2.png");
Actor Hero = (Actor) getWorld().getObjects(Hero.class).get(0);
turnTowards(Hero.getX(), Hero.getY());
move(3);*/
}
Depending on what side the Hero is of the enemy, depends on the image that is set for the enemy. The problem is so far it can only be set to one image, which sometimes faces the wrong way. How do i fix this
