更新 'scoreboard.py'

This commit is contained in:
206530222 2021-06-19 23:23:46 +08:00
parent 4c95e8b1d1
commit db52af06a5
1 changed files with 0 additions and 4 deletions

View File

@ -1,14 +1,10 @@
import pygame.font
from pygame.sprite import Group
from ship import Ship
class Scoreboard:
#"""显示得分信息的类"""
def __init__(self, ai_game):
#"""初始化显示得分涉及的属性"""
self.ai_game = ai_game
self.screen = ai_game.screen
self.screen_rect = self.screen.get_rect()
self.settings = ai_game.settings