Commit 1ecd4739 by BellCodeEditor

auto save

parent dbd13726
Showing with 4 additions and 4 deletions
......@@ -22,14 +22,14 @@ while True:
# 接收到退出事件后退出程序
exit()
# 将背景图画上去
if setheading == locals.K_LEFT and sethding != "left":
if setheading == locals.K_LEFT and setheading != "left":
setheading ='left'
if setheading == locals.K_UP and sethding != "right":
if setheading == locals.K_UP and setheading != "right":
setheading ='up'
if setheading == locals.K_DOWN and sethding != "down":
if setheading == locals.K_DOWN and setheading != "down":
setheading = 'down'
if setheading == locals.K_RIGHT and sethding != "left":
if setheading == locals.K_RIGHT and setheading != "left":
setheading = 'right'
x +=30
position.append((x,y))
......
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