更新 'game_stats.py'

This commit is contained in:
206530229 2021-06-23 16:26:28 +08:00
parent 82fa99a286
commit 3588e68d36
1 changed files with 15 additions and 13 deletions

View File

@ -1,9 +1,11 @@
class GameStats:
#跟踪游戏的统计信息
class game_stats:
def __init__(self, ai_game):
#初始化统计信息
self.settings = ai_game.settings
self.reset_stats()
# 游戏刚启动时处于非活动状态
self.game_active = False