Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 120a11d

Browse files
committedMar 3, 2019
minor
1 parent 83a2176 commit 120a11d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎src/animate.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,12 @@ def get_bounce(self):
148148
x1, y1, x2, y2 = self.canvas.bbox(self.id)
149149
bounce = Coord(0, 0)
150150
if x1 <= self.bound_x1:
151-
# print('x1', x1, self.bound_x1)
152151
bounce += Direction.RIGHT
153152
if y1 <= self.bound_y1:
154-
# print('y1', y1, self.bound_y1)
155153
bounce += Direction.DOWN
156154
if x2 >= self.bound_x2:
157-
# print('x2', x2, self.bound_x2)
158155
bounce += Direction.LEFT
159156
if y2 >= self.bound_y2:
160-
# print('y2', y2, self.bound_y2)
161157
bounce += Direction.UP
162158
return bounce
163159

0 commit comments

Comments
 (0)
This repository has been archived.