Hello,
I need some help with this code (the world is 8 x 8). My problem is that I don't know how to tell greenfoot that it should integrate the name the string actor contains.
Is there someone who could help me? :)
public int numberOfActors(String actor) {
int numberActor = 0;
if(isTouching( ??? .class)) {
numberActor++;
}
return numberActor;
}