From 171ede9932a4b128d73b1ffa26dced1979cf6b02 Mon Sep 17 00:00:00 2001 From: 206530212 <2122823223@qq.com> Date: Sat, 19 Jun 2021 11:05:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'settings.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 2d44ed9..067c71f 100644 --- a/settings.py +++ b/settings.py @@ -28,4 +28,10 @@ class Settings(): # 外星人点数的提高速度 self.score_scale = 1.01 - self.initialize_dynamic_settings() \ No newline at end of file + self.initialize_dynamic_settings() + + # fleet_direction为1表示向右移,为-1表示向左移 + self.fleet_direction = 1 + + def initialize_dynamic_settings(self): + """初始化随游戏进行而变化的设置"""