here is my code so far, ive tried everything but still can't understand :( HELPP
import greenfoot.*;
import java.util.*;
public class Bullet1 extends Actor
{
Hero he = new Hero();
List<Hero> h;
public void act()
{
move();
}
public void move()
{
h = getObjectsInRange(1200, Hero.class);
//he = h<0>
turnTowards(he.getX(), he.getY());
move(2);
}
}

