更新 'game_functions.py'
This commit is contained in:
parent
79634f0944
commit
63a9c3d323
|
@ -35,3 +35,5 @@ def check_keyup_events(event, ship):
|
|||
"""响应松开"""
|
||||
if event.key == pygame.K_RIGHT:
|
||||
ship.moving_right = False
|
||||
elif event.key == pygame.K_LEFT:
|
||||
ship.moving_left = False
|
Loading…
Reference in New Issue