更新 'game_stats.py'

This commit is contained in:
206530230 2021-06-23 20:55:07 +08:00
parent 4393b134d2
commit bd4410e097
1 changed files with 2 additions and 1 deletions

View File

@ -13,4 +13,5 @@ class GameStats():
def reset_stats(self):
"""初始化在游戏运行期间可能变化的统计信息"""
self.ships_left = self.ai_settings.ship_limit
self.ships_left = self.ai_settings.ship_limit
self.score = 0