Unverified Commit d4b6a8ae authored by 骆昊's avatar 骆昊 Committed by GitHub

Merge pull request #25 from q526933815/master

Update 图形用户界面和游戏开发.md
parents 155cad5d 199eb007
......@@ -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):
"""在窗口上绘制球"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment