未验证 提交 199eb007 编写于 作者: T TinaryTree 提交者: GitHub

Update 图形用户界面和游戏开发.md

上级 62d43afa
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册