G'day.... i was watching a video from youtube however there was an error. can anyone help? it says '.class expected'. just before the 'newY'.
public void moveToGround(Actor ground)
{
int groundHeight = ground.getimage(). getHeight()/
int newY = ground.getY() - (groundHeight + getImage(). getHeight())/2;
setLocation(getX(), newY);
}
