diff options
author | tom barrett <spalf0@gmail.com> | 2019-03-14 13:18:55 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2019-03-14 13:18:55 -0500 |
commit | 69aa9f090d551c1ebb211f3a01273b28421fc9c0 (patch) | |
tree | 6bec4cc35fcda170ebb57da6328b76a1f88d8609 /src/constants.rs | |
parent | 0973ac1666a6ee3b606a537742abe506719fd156 (diff) |
fleshing out tractorbeam
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs index a2373ff..4c48cac 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -14,6 +14,8 @@ pub const SHIP_NAVIGATION_TIME: u64 = 3; pub const SHIP_NAVIGATION_RANGE: f64 = 100.0; pub const SHIP_REFINERY_TIME: u64 = 5; pub const SHIP_TRACTORBEAM_STRENGTH: f64 = 0.1; +pub const SHIP_TRACTORBEAM_RANGE: f64 = 50.0; +pub const SHIP_TRACTORBEAM_BRING_TO_DISTANCE: f64 = 5.0; pub const SHIP_ENGINES_FUEL_START: f64 = 100.0; pub const SHIP_ENGINES_ACCELERATION: f64 = 0.1; @@ -22,3 +24,4 @@ pub const HYDROGEN_SIZE: usize = 1; pub const CRUDE_MINERALS_SIZE: usize = 10; pub const SLEEP_DURATION: u64 = 100; +pub const FLOAT_PRECISION: f64 = 0.001; |