Skip to content

Commit d4b6a8a

Browse files
authored
Merge pull request jackfrued#25 from q526933815/master
Update 图形用户界面和游戏开发.md
2 parents 155cad5 + 199eb00 commit d4b6a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Day01-15/Day10/图形用户界面和游戏开发.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class Ball(object):
264264
if distance < self.radius + other.radius \
265265
and self.radius > other.radius:
266266
other.alive = False
267-
a self.radius = self.radius + int(other.radius * 0.146)
267+
self.radius = self.radius + int(other.radius * 0.146)
268268

269269
def draw(self, screen):
270270
"""在窗口上绘制球"""

0 commit comments

Comments
 (0)