diff options
author | Baitinq <you@example.com> | 2022-02-09 10:33:40 +0000 |
---|---|---|
committer | Baitinq <you@example.com> | 2022-02-09 10:33:40 +0000 |
commit | ccf367ba50c273c5a8706962682eca76c134f807 (patch) | |
tree | c7442032501bb99400ec20b34e540e545b63a259 /main.py | |
parent | Fixed thrust calculation by taking g into account (diff) | |
download | OSLS-ccf367ba50c273c5a8706962682eca76c134f807.tar.gz OSLS-ccf367ba50c273c5a8706962682eca76c134f807.tar.bz2 OSLS-ccf367ba50c273c5a8706962682eca76c134f807.zip |
Add payload mass
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main.py b/main.py index d2c92d1..93a1304 100644 --- a/main.py +++ b/main.py @@ -40,7 +40,8 @@ def main(argv): ) rocket = Rocket(name="starship launch system", - stages=[first_stage, second_stage] + stages=[first_stage, second_stage], + payload_mass=100 ) body = Body(name="earth", @@ -96,6 +97,7 @@ def main(argv): #TODO: do max load on rocket so it blows up #TODO: allow for x movement, speed, accel etc #TODO: allow multilanguage api for landing algorithms etc + #TODO: probs need cloud sprite that spawns and despawns as well as floor sprite def linear_gradient(start_color, end_color, length, value_at): return [ |