I am having a problem with this code:
List<Enemy> Player1 = getObjectsInRange( 2000,Player1.class);
if(Enemy.size()!=0){
pointAtObject(Enemy.get(0)); move(6.0);
}
I have it in the act().
It is complaining and saying: cannot find symbol - method size()