Difficult-Rocket/bin/Game_threads/orbit_demo.py

27 lines
682 B
Python
Raw Normal View History

2020-12-13 18:39:12 +08:00
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
"""
import threading
2020-12-21 18:46:20 +08:00
2020-12-13 18:39:12 +08:00
class Orbit_demo(threading.Thread):
2020-12-21 18:46:20 +08:00
2020-12-14 22:31:34 +08:00
def __init__(self, threadID, delivery_class):
2020-12-21 18:46:20 +08:00
# father class __init__()
threading.Thread.__init__(self)
# dic
2020-12-26 00:44:35 +08:00
self.ship_info = {"mass": [1, 5, ["kg"], []], "force": []}
self.planet_system = {"Solar System": {"planets": {
"smearth": {"description": "", "gravity": 9.81, "radius": 63710000, "map_color": [103, 157, 255]}}}}
2020-12-21 18:46:20 +08:00
self.this_planet_info = {}
self.back_ground_element = {}
self.back_ground_image = ""
2020-12-21 21:05:53 +08:00
def main(self):
print("ha ?")
2020-12-21 21:05:53 +08:00
def orbit_math(self):
2020-12-21 22:11:49 +08:00
pass