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)