Skip to content

Commit

Permalink
Merge pull request #25 from q526933815/master
Browse files Browse the repository at this point in the history
Update 图形用户界面和游戏开发.md
  • Loading branch information
jackfrued authored May 4, 2019
2 parents 155cad5 + 199eb00 commit d4b6a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Day01-15/Day10/图形用户界面和游戏开发.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Ball(object):
if distance < self.radius + other.radius \
and self.radius > other.radius:
other.alive = False
a self.radius = self.radius + int(other.radius * 0.146)
self.radius = self.radius + int(other.radius * 0.146)

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

0 comments on commit d4b6a8a

Please sign in to comment.