30 lines
739 B
Python
30 lines
739 B
Python
"""
|
|
writen by shenjackyuanjie
|
|
mail: 3695888@qq.com
|
|
"""
|
|
|
|
import libs
|
|
import threading
|
|
|
|
from threading import Thread
|
|
|
|
|
|
class Orbit_demo(threading.Thread):
|
|
|
|
def __init__(self, threadID, delivery_class):
|
|
# father class __init__()
|
|
threading.Thread.__init__(self)
|
|
# dic
|
|
self.ship_info = {}
|
|
self.planet_system = {"Solar System": {"planets": {"smearth": {"description": "", "gravity": 9.81, "radius": 63710000, "map_color": [103, 157, 255]}}}}
|
|
self.main_ship_parts = {}
|
|
self.this_planet_info = {}
|
|
self.back_ground_element = {}
|
|
self.back_ground_image = ""
|
|
|
|
def main(self):
|
|
print("ha ?")
|
|
|
|
def orbit_math(self):
|
|
mass = self.ship_info["mass"]
|