Commit e567469b by BellCodeEditor

auto save

parent d5739bd2
Showing with 1 additions and 1 deletions
......@@ -24,7 +24,7 @@ setheading = "right"
snake_head = right
while True:
for event in pygame.event.get():
for event in pygame.event.get(): # 获取当前数值
if event.type == locals.QUIT:
# 接收到退出事件后退出程序
exit()
......
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 sign in to comment