Closed chrisgrounds closed 6 years ago
Atm, the obstacle is static - it doesn't move. Want to write a method that updates the obstacles position (so that when obstacle.draw is called it will move to a new position).
obstacle.draw
Maybe give it a velocity property as well, which you can use to move the obstacle at a certain speed.
velocity
Atm, the obstacle is static - it doesn't move. Want to write a method that updates the obstacles position (so that when
obstacle.draw
is called it will move to a new position).