diff --git a/libs/Game_threads/__init__.py b/libs/Game_threads/__init__.py index 9d52895..26d0a8f 100644 --- a/libs/Game_threads/__init__.py +++ b/libs/Game_threads/__init__.py @@ -3,10 +3,5 @@ writen by shenjackyuanjie mail: 3695888@qq.com """ # import folders -import libs.Game_threads # import in this forder -import libs.main -import libs.loads -import libs.setup -import libs.render diff --git a/libs/Game_threads/orbit_demo.py b/libs/Game_threads/orbit_demo.py index 22d48c9..9b75580 100644 --- a/libs/Game_threads/orbit_demo.py +++ b/libs/Game_threads/orbit_demo.py @@ -7,5 +7,5 @@ import libs import threading class Orbit_demo(threading.Thread): - def __init__(self): + def __init__(self, threadID, delivery_class): pass \ No newline at end of file diff --git a/libs/__init__.py b/libs/__init__.py index 26d0a8f..59d22d8 100644 --- a/libs/__init__.py +++ b/libs/__init__.py @@ -3,5 +3,11 @@ writen by shenjackyuanjie mail: 3695888@qq.com """ # import folders +import libs.Game_threads # import in this forder +import libs.main +import libs.loads +import libs.setup +import libs.render_thread +import libs.delivery diff --git a/libs/delivery.py b/libs/delivery.py new file mode 100644 index 0000000..d3c5dc1 --- /dev/null +++ b/libs/delivery.py @@ -0,0 +1,14 @@ +""" +writen by shenjackyuanjie +mail: 3695888@qq.com +""" + +class Delivery: + def __init__(self): + self.using = False + self.ship_info = {} + self.planet_system = {} + self.main_ship_parts = {} + self.this_planet_info = {} + self.back_ground_element = {} + self.back_ground_image = "" diff --git a/libs/render.py b/libs/render_thread.py similarity index 78% rename from libs/render.py rename to libs/render_thread.py index c83ff5c..6930a3e 100644 --- a/libs/render.py +++ b/libs/render_thread.py @@ -3,6 +3,7 @@ writen by shenjackyuanjie mail: 3695888@qq.com """ +import libs import pyglet import threading @@ -11,5 +12,5 @@ from pyglet.window import Window from pyglet.resource import image class RenderThread(threading.Thread): - def __init__(self): + def __init__(self, threadID, delivery_class): pass \ No newline at end of file