From e69b80d37ffa69941c20ba6334f08e378dd91a02 Mon Sep 17 00:00:00 2001 From: 206530230 <1375258642@qq.com> Date: Wed, 23 Jun 2021 20:54:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'game=5Fstats.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game_stats.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game_stats.py b/game_stats.py index bddf17e..a1aef35 100644 --- a/game_stats.py +++ b/game_stats.py @@ -9,4 +9,6 @@ class GameStats(): self.game_active = False # 在任何情况下都不应重置最高得分 - self.high_score = 0 \ No newline at end of file + self.high_score = 0 + + def reset_stats(self): \ No newline at end of file