Commit e567469b by BellCodeEditor

auto save

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