We're no strangers to love...

This commit is contained in:
maxneedspats 2022-07-31 23:18:36 -05:00
parent dce97c2a39
commit de30a74c6d

View file

@ -27,6 +27,7 @@ class Card(turtle.Turtle):
def is_mouse_over(self, x, y):
# Collision code reused from D. Atkinson's Turtle Crossing program, with some minor modifications.
# https://www.youtube.com/watch?v=dQw4w9WgXcQ
top_edge = self.ycor() + 103
bottom_edge = self.ycor() - 103
car_left_edge = self.xcor() - 103