Ok so I'm trying to get an object to slow down and change transparency when it hits another object and can't quite figure it out.
So far I've got
public void smellFlowers()
{
if (canSee(Flower.class))
{
move=move()-1;
GreenfootImage.setTransparency(-10);
}
}
Both of these come up with errors so I know I'm not doing it right, honestly I'm probably not even close...