Gingervitis wrote...
Yes, so that means that the with the other code I had, the EnemyDamageField was never actually touching the MrBoom object, right?
if(isTouching(Castle.class)){
Actor actor = (Actor)(getWorld().getObjects(Castle.class).get(0));
turnTowards(actor.getX(), actor.getY());
}Actor castleTouched = getOneIntersectingObject(Castle.class);
if (castleTouched != null)
{
Actor someCastle = (Actor)getWorld().getObjects(Castle.class).get(0);
turnTowards(someCastle.getX(), someCastle.getY());
}