diff --git a/configs/basic_config.json b/configs/basic_config.json index 307d0dc..f3fe533 100644 --- a/configs/basic_config.json +++ b/configs/basic_config.json @@ -10,5 +10,8 @@ "soild": "soild_engine_flame.png", "ion": "ion_engine_flame.png" } + }, + "basic_number": { + "G" : ["6.67", "-11", ["N", "m", "m"], ["kg", "kg"]] } } \ No newline at end of file diff --git a/docs/configes sample/basic_config.json b/docs/configes sample/basic_config.json index 28c7f6f..cb781d3 100644 --- a/docs/configes sample/basic_config.json +++ b/docs/configes sample/basic_config.json @@ -8,5 +8,8 @@ "flame": { "xxx": "xxx.png" } + }, + "basic_number": { + "name" : ["float", "int", ["unit"], ["unit"], "name = float × 10^int × unit(s) ÷ unit(s)"] } } \ No newline at end of file diff --git a/libs/Game_threads/orbit_demo.py b/libs/Game_threads/orbit_demo.py index e44ef21..89a54d6 100644 --- a/libs/Game_threads/orbit_demo.py +++ b/libs/Game_threads/orbit_demo.py @@ -21,3 +21,9 @@ class Orbit_demo(threading.Thread): 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"]