更新 'alien.py'

This commit is contained in:
206530230 2021-06-20 20:43:49 +08:00
parent a65b121ad5
commit bc10c34af3
1 changed files with 2 additions and 1 deletions

View File

@ -27,4 +27,5 @@ class Alien(Sprite):
self.screen.blit(self.image, self.rect)
def check_edges(self):
"""如果外星人位于屏幕边缘就返回True"""
"""如果外星人位于屏幕边缘就返回True"""
screen_rect = self.screen.get_rect()