Hello GF,
I want to launch the Pear vertically when Link touches it, but I can't get it to work.
Here's my code so far:
Thanks
public void act()
{
jump();
}
public void jump()
{
if (
isTouching(Link.class));
{
setLocation(getX(), getY()-20);
}
}
}
