更新 'alien.py'

This commit is contained in:
206530230 2021-06-19 12:13:11 +08:00
parent 75f25f0c08
commit ea205e8753
1 changed files with 3 additions and 1 deletions

View File

@ -22,4 +22,6 @@ class Alien(Sprite):
# 存储外星人的准确位置
self.x = float(self.rect.x)
def blitme(self):
def blitme(self):
"""在指定位置绘制外星人"""
self.screen.blit(self.image, self.rect)