From ac3562d2e2261c44dc00a22b5e4b7a7a3a919651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E7=91=97=E6=9D=B0?= <3695888@qq.com> Date: Sat, 5 Dec 2020 21:26:18 +0800 Subject: [PATCH] hmmm not much change --- libs/main.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libs/main.py b/libs/main.py index 44c7383..4fc387f 100644 --- a/libs/main.py +++ b/libs/main.py @@ -6,9 +6,6 @@ mail: 3695888@qq.com import pyglet import libs -from pyglet.window import Window -from pyglet.app import run - class Game: def __init__(self): @@ -21,11 +18,11 @@ class Game: # list def start_game(self): - run() + pyglet.app.run() def setup(self): # window - self.window = Window(width=800, height=600, + self.window = pyglet.window.Window(width=800, height=600, caption='minecraft PE', resizable=True)