I am trying to make pipes appear lower or higher on my flappy bird tutorial, but I am not sure how to insert the random code.
How can I fix this?
1 | addObject(pipe, getWidth(), getHeight()/ 2 + image.getHeight(getRandomNumber( int - 20 ,- 60 ) ); |