From 209648a39c98ccddc622703554912a21c2471531 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 8 Jan 2023 15:38:00 +0100 Subject: Implemented naive armour and shield without parametrized resits --- sim/src/Builder.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sim/src/Builder.cpp') diff --git a/sim/src/Builder.cpp b/sim/src/Builder.cpp index f1e4762..e6984fe 100644 --- a/sim/src/Builder.cpp +++ b/sim/src/Builder.cpp @@ -39,7 +39,11 @@ Builder::operator()(const universe::ShipType& ship_type, const int team) const ship_type.max_speed * 2.0, ship_type.max_speed * 3.0); registry.emplace(entity, 6000.0, Point{0.0, 0.0}); - registry.emplace(entity, ship_type.base_structure_points); + registry.emplace( + entity, + ship_type.base_shield_points, + ship_type.base_armour_points, + ship_type.base_structure_points); return entity; } -- cgit v1.1