-
In the
__init__
method, create two buttons using theButton
class. Have one labeled “thrust” and the other labeled “no thrust”. Have theget_thrust
method return either 0 or 1 depending on which button is clicked. -
In the
__init__
method, create aText
object to show the current status. Have theshow_info
method update the contents of thisText
object to show the current Fuel, Velocity, and Altitude. -
Change the end-game methods so that they move the lander shape to be on the moon’s surface, and then display a short status message. Also wait for the user to click the mouse before continuing.