diff options
Diffstat (limited to 'universe')
-rw-r--r-- | universe/CMakeLists.txt | 8 | ||||
-rw-r--r-- | universe/include/kurator/universe/ShipType.h | 20 | ||||
-rw-r--r-- | universe/include/kurator/universe/TurretType.h | 22 |
3 files changed, 50 insertions, 0 deletions
diff --git a/universe/CMakeLists.txt b/universe/CMakeLists.txt new file mode 100644 index 0000000..24457c5 --- /dev/null +++ b/universe/CMakeLists.txt @@ -0,0 +1,8 @@ +project(universe) +add_library( + ${PROJECT_NAME} INTERFACE +) +target_include_directories( + ${PROJECT_NAME} + INTERFACE 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 <string> + + +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 <string> + + +namespace kurator +{ +namespace universe +{ + + +struct TurretType +{ + std::string name; + double base_damage; + double rate_of_fire; + double range; +}; + + +} // namespace universe +} // namespace kurator |