From caa48ce5946d093daaf950751dfa1432ea5373a9 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 8 Nov 2022 23:54:23 +0100 Subject: Creating skeleton for battle simulation and universe data This might be a bit too much and a bit too blindly, but let's see how it evolves. --- universe/include/kurator/universe/ShipType.h | 20 ++++++++++++++++++++ universe/include/kurator/universe/TurretType.h | 22 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 universe/include/kurator/universe/ShipType.h create mode 100644 universe/include/kurator/universe/TurretType.h (limited to 'universe/include') diff --git a/universe/include/kurator/universe/ShipType.h b/universe/include/kurator/universe/ShipType.h new file mode 100644 index 0000000..5f5eec1 --- /dev/null +++ b/universe/include/kurator/universe/ShipType.h @@ -0,0 +1,20 @@ +#pragma once + +#include + + +namespace kurator +{ +namespace universe +{ + + +struct ShipType +{ + std::string name; + double base_health_points; +}; + + +} // namespace universe +} // namespace kurator diff --git a/universe/include/kurator/universe/TurretType.h b/universe/include/kurator/universe/TurretType.h new file mode 100644 index 0000000..b3a6eb2 --- /dev/null +++ b/universe/include/kurator/universe/TurretType.h @@ -0,0 +1,22 @@ +#pragma once + +#include + + +namespace kurator +{ +namespace universe +{ + + +struct TurretType +{ + std::string name; + double base_damage; + double rate_of_fire; + double range; +}; + + +} // namespace universe +} // namespace kurator -- cgit v1.1