Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def buyItem1(x,y):
- # fill this in
- pass
- def buyItem2(x,y):
- # fill this in
- pass
- shopButton1 = turtle.Turtle()
- shopButton1.penup()
- shopButton1.goto(-200, -200)
- shopButton1.shape('square')
- shopButton1.shapesize(3)
- shopButton1.write('CLICK UPGRADE', False, 'center')
- shopButton1.color('#86898f')
- shopButton1.pencolor('black')
- shopButton1.goto(-200, -150)
- shopButton1.onclick(buyItem1)
- shopButton2 = turtle.Turtle()
- shopButton2.penup()
- shopButton2.goto(-50, -200)
- shopButton2.shape('square')
- shopButton2.shapesize(3)
- shopButton2.write('guy who clicks for you', False, 'center')
- shopButton2.color('#86898f')
- shopButton2.pencolor('black')
- shopButton2.goto(-50, -150)
- shopButton2.onclick(buyItem2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement