更新 'ship.py'

This commit is contained in:
206530210 2021-06-21 21:53:39 +08:00
parent f8a61e888f
commit 0e1254b434
1 changed files with 4 additions and 0 deletions

View File

@ -23,3 +23,7 @@ class Ship(Sprite):
self.center = float(self.rect.centerx)
self.centery = float(self.rect.centery)
# 移动标志
self.moving_right = False
self.moving_left = False