更新 'scoreboard.py'
This commit is contained in:
parent
32653d20c1
commit
dff77b9a37
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue