From a8929c77736b98781866dcd8bd5556991e023c23 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 24 Nov 2022 18:43:35 +0100 Subject: Applied ship designs and stats to current sample scenario and universe --- battles/src/Builder.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'battles/src/Builder.cpp') diff --git a/battles/src/Builder.cpp b/battles/src/Builder.cpp index 4ead634..d7cc893 100644 --- a/battles/src/Builder.cpp +++ b/battles/src/Builder.cpp @@ -30,7 +30,12 @@ Builder::operator()(const universe::ShipType& ship_type, const int team) const registry.emplace(entity, ship_type); registry.emplace(entity, team); registry.emplace(entity, spawner.get(team)); - registry.emplace(entity, 0.5, 2.0, 3.0, 0.1); + registry.emplace( + entity, + ship_type.max_speed, + ship_type.max_speed * 2.0, + ship_type.max_speed * 3.0, + 100.0); registry.emplace(entity, Point{0.0, 0.0}); registry.emplace(entity, ship_type.base_health_points); return entity; -- cgit v1.1