29 lines
586 B
Python
29 lines
586 B
Python
"""
|
|
writen by shenjackyuanjie
|
|
mail: 3695888@qq.com
|
|
"""
|
|
|
|
import pyglet
|
|
import libs
|
|
|
|
|
|
class Game:
|
|
def __init__(self):
|
|
# value
|
|
# dic
|
|
self.parts = {} # now ship parts
|
|
self.o_parts = {} # stand for opther parts
|
|
self.b_g_e = {} # stand for back ground element
|
|
self.window_c = libs.loads.window_config()
|
|
# list
|
|
|
|
def start_game(self):
|
|
pyglet.app.run()
|
|
|
|
def setup(self):
|
|
# window
|
|
self.window = pyglet.window.Window(width=800, height=600,
|
|
caption='minecraft PE', resizable=True)
|
|
|
|
|