2021-09-08 23:38:34 +08:00
|
|
|
# -------------------------------
|
|
|
|
# Difficult Rocket
|
|
|
|
# Copyright © 2021 by shenjackyuanjie
|
|
|
|
# All rights reserved
|
|
|
|
# -------------------------------
|
|
|
|
|
2021-04-02 23:31:54 +08:00
|
|
|
"""
|
2020-12-13 18:39:12 +08:00
|
|
|
writen by shenjackyuanjie
|
2021-09-08 23:38:34 +08:00
|
|
|
mail: 3695888@qq.com
|
|
|
|
github: @shenjackyuanjie
|
|
|
|
gitee: @shenjackyuanjie
|
2021-04-02 23:31:54 +08:00
|
|
|
"""
|
2020-12-13 18:39:12 +08:00
|
|
|
|
2021-09-08 23:38:34 +08:00
|
|
|
|
2020-12-13 18:39:12 +08:00
|
|
|
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
|
2021-02-14 20:22:29 +08:00
|
|
|
self.ship_info = {'mass': [1, 5, ['kg'], []], 'force': []}
|
|
|
|
self.planet_system = {'Solar System': {'planets': {
|
2021-04-03 12:15:24 +08:00
|
|
|
'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 = {}
|
2021-02-14 20:22:29 +08:00
|
|
|
self.back_ground_image = ''
|
2021-01-23 21:43:04 +08:00
|
|
|
|
2020-12-21 21:05:53 +08:00
|
|
|
def main(self):
|
2021-02-14 20:22:29 +08:00
|
|
|
print('ha ?')
|
2021-01-23 21:43:04 +08:00
|
|
|
|
2020-12-21 21:05:53 +08:00
|
|
|
def orbit_math(self):
|
2020-12-21 22:11:49 +08:00
|
|
|
pass
|