Commit 0ba3462f by BellCodeEditor

save project

parent bd90e7ab
Showing with 2 additions and 2 deletions
...@@ -24,8 +24,8 @@ while True: ...@@ -24,8 +24,8 @@ while True:
if event.type == locals.QUIT: if event.type == locals.QUIT:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
if event.type==locals.KEYDOWN if event.type==locals.KEYDOWN:
if event.KEY==locals.K_RIGHT and setheading !="left" if event.KEY==locals.K_RIGHT and setheading !="left":
setheading="right.png" setheading="right.png"
x=x+30 x=x+30
position.append((x,y)) 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