更新 'alien.py'

This commit is contained in:
206530230 2021-06-21 21:13:39 +08:00
parent 8b1c651fa8
commit 32f8368c4d
1 changed files with 2 additions and 1 deletions

View File

@ -35,4 +35,5 @@ class Alien(Sprite):
return True return True
def update(self): def update(self):
"""向左或右移动外星人""" """向左或右移动外星人"""
self.x += (self.ai_settings.alien_speed_factor *