@ -73,3 +73,7 @@ class BossBullet(Sprite):
# 更新rect位置
self.rect.y = self.y
self.rect.x = self.x
def draw_bullet(self):
"""在屏幕上绘制子弹"""
pygame.draw.rect(self.screen, self.color, ((self.x, self.y), (self.width, self.height)))