hmmm not much change
This commit is contained in:
parent
3814fd34c0
commit
ac3562d2e2
@ -6,9 +6,6 @@ mail: 3695888@qq.com
|
|||||||
import pyglet
|
import pyglet
|
||||||
import libs
|
import libs
|
||||||
|
|
||||||
from pyglet.window import Window
|
|
||||||
from pyglet.app import run
|
|
||||||
|
|
||||||
|
|
||||||
class Game:
|
class Game:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -21,11 +18,11 @@ class Game:
|
|||||||
# list
|
# list
|
||||||
|
|
||||||
def start_game(self):
|
def start_game(self):
|
||||||
run()
|
pyglet.app.run()
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
# window
|
# window
|
||||||
self.window = Window(width=800, height=600,
|
self.window = pyglet.window.Window(width=800, height=600,
|
||||||
caption='minecraft PE', resizable=True)
|
caption='minecraft PE', resizable=True)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user