Hi,
I am trying to get thie to work. If my actor hits the bottom of the level AND had 0 lives, end game
If not, she is placed at the starting position. This is what I have
public void fall()
{
setLocation ( getX(), getY() + vSpeed);
vSpeed = vSpeed + acceleration;
if ( atBottom() && ((ShroomScore) getWorld().getObjects(ShroomScore.class).get(0))==null )
gameEnd();
else{
setLocation((Alice.class),20,340);
}
}
