{
setLocation( getX(), (int) (getY() + dy) );
// If user pressed UP arrow, launch Flappy Bird upward
if (Greenfoot.isKeyDown("up") == true) {
dy = -15;
}
dy = dy + g;
}
i am wondering why this code is not correct..some one help me...
