更新 'scoreboard.py'

This commit is contained in:
206530222 2021-06-21 18:27:43 +08:00
parent 32653d20c1
commit dff77b9a37
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ class Scoreboard:
# """显示得分信息时使用的字体设置"""
self.text_color = (30, 30, 30)
self.font = pygame.font.SysFont(None, 48)
# """准备包含最高得分和当前得分的图像"""
self.prep_score()
self.prep_high_score()