I'm need to create a fade method fort he LadyBug to "fade" or lose some of its transparency each time a Crab crosses over it . I put this in the crabs code & got no errors but its not giving me what I want.
public void setTransparency (int t)
{
if(canSee(Bug.class))
{
getImage().setTransparency(0);
}
}



