I tried the little-crab scenario and wanted to change the crabs image everytime it moves by 1 ( public void act()
{
if (isTouching(worm.class)){
eatWorm();
}
else{
move(1);
checkKeys();
}
) but I do not know how to change it as setImage and get Image won't work. It says wrong reciever parameter whenever I use public void setImage(java.lang.String crab2.png);
Appreciate your time trrying to help me (: