Commit c0fc3acb by BellCodeEditor

save project

parent 2c10aa44
Showing with 2 additions and 0 deletions
...@@ -24,6 +24,8 @@ while True: ...@@ -24,6 +24,8 @@ while True:
if event.type == locals.QUIT: if event.type == locals.QUIT:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
if event.type == locals.KEYDOME
if event.key == locals.K_SPACE
wukong = hero[index] wukong = hero[index]
......
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