From b2630af670c15432faed200a8517b0fe216f9ec5 Mon Sep 17 00:00:00 2001 From: 206530115 <738751407@qq.com> Date: Thu, 24 Jun 2021 20:53:38 +0800 Subject: [PATCH] if __name__ == '__main__': manager = Manager() manager.main() --- 飞机大战.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/飞机大战.py b/飞机大战.py index e73a851..2f67afb 100644 --- a/飞机大战.py +++ b/飞机大战.py @@ -448,4 +448,5 @@ class Manager(object): # 取一个合适的值 循环时停一下 单位是秒 减少cpu的消耗 time.sleep(0.03) - + +