summaryrefslogtreecommitdiff
path: root/src/engine/constants.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-08-09 21:17:02 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-08-09 21:17:24 +0200
commitb2cbd720858d482257da98839a5c8ee8c85c6b62 (patch)
tree898813e2b3323580d77798ded7790317c1b6db2b /src/engine/constants.rs
parent2c7870073e70ac19a6959c5627b04ad3c62d8173 (diff)
Converted game engine vectors to arrayvecs
Diffstat (limited to 'src/engine/constants.rs')
-rw-r--r--src/engine/constants.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/constants.rs b/src/engine/constants.rs
index 8453a54..2e80988 100644
--- a/src/engine/constants.rs
+++ b/src/engine/constants.rs
@@ -28,6 +28,8 @@ pub const ENERGY_CONSTRUCTION_TIME: u8 = 1;
pub const DECONSTRUCT_ENERGY: u16 = 5;
+pub const MAX_CONCURRENT_CONSTRUCTION: usize = 5; //2 teslas, and 3 of anything else
+
#[cfg(not(feature = "reduced-time"))]
#[cfg(not(feature = "extended-time"))]