📅  最后修改于: 2022-03-11 14:46:55.607000             🧑  作者: Mango
if keyboard.left:
Player.x = Player.x - 2
elif keyboard.right:
Player.x = Player.x + 2
elif keyboard.up:
Player.y = Player.y - 2
elif keyboard.down:
Player.y = Player.y + 2