how would you make a actor in the greenfoot world run away from another actor? I know that this allows for it to chase the "Bee," but I want to make a "Fly" run awa from the Bee.
here is the code I mentioned
BeeWorld myWorld = (BeeWorld) getWorld();
Bee bee = myWorld.getBee();
this.turnTowards(bee.getX(), bee.getY());