diff options
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; |