diff options
Diffstat (limited to 'universe')
-rw-r--r-- | universe/include/kurator/universe/ShipType.h | 1 | ||||
-rw-r--r-- | universe/src/SampleRepository.cpp | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/universe/include/kurator/universe/ShipType.h b/universe/include/kurator/universe/ShipType.h index 5f5eec1..fccf970 100644 --- a/universe/include/kurator/universe/ShipType.h +++ b/universe/include/kurator/universe/ShipType.h @@ -13,6 +13,7 @@ struct ShipType { std::string name; double base_health_points; + double max_speed; }; diff --git a/universe/src/SampleRepository.cpp b/universe/src/SampleRepository.cpp index 2886e3d..31f7807 100644 --- a/universe/src/SampleRepository.cpp +++ b/universe/src/SampleRepository.cpp @@ -16,14 +16,14 @@ namespace universe static const std::unordered_map<std::string, ShipType> ships { - {"cube", {"Cube", 10.0}}, - {"halo", {"Halo", 4.0}}, - {"bell", {"Bell", 18.0}}, + {"Anvil", {"Anvil", 600.0, 218.0}}, + {"Eclipse", {"Eclipse", 600.0, 263.0}}, + {"Warbringer", {"Warbringer", 600.0, 336.0}}, }; static const std::unordered_map<std::string, TurretType> turrets { - {"cannon", {"Cannon", 1.0, 1.0, 1.5, 0.5, 0.2}}, + {"ChargeLaser", {"ChargeLaser", 85.0, 4.5, 7000.0, 0.05, 0.2}}, }; |