外星人

This commit is contained in:
206530217 2021-06-17 11:27:14 +08:00
parent 4ea1bcc150
commit 31c924b303
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ class Alien(Sprite):
return True
elif self.rect.left <= 0:
return True
def update(self):
"""向左或向右移动外星人"""
self.x += (self.ai_settings.alien_speed_factor * self.ai_settings.fleet_direction)