how could i rotate an actor so he is facing another actor directly
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class oktororck here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class octorok extends Actor
{
public static int x = 250;
public static int y = 250;
/**
* Act - do whatever the oktororck wants to do. This method is called whenever
* the 'Act' or 'Run' button gets pressed in the environment.
*/
public void act()
{
turnTowards(x,y);
}
}