diff options
author | Aki <please@ignore.pl> | 2022-11-08 23:54:23 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-11-08 23:55:25 +0100 |
commit | caa48ce5946d093daaf950751dfa1432ea5373a9 (patch) | |
tree | 2a5b9d7586ab36a320b50b45175f4b8df46ae085 /universe/include | |
parent | 471bf1adab9022a4261f2f4bc7ce24ce977ccda7 (diff) | |
download | kurator-caa48ce5946d093daaf950751dfa1432ea5373a9.zip kurator-caa48ce5946d093daaf950751dfa1432ea5373a9.tar.gz kurator-caa48ce5946d093daaf950751dfa1432ea5373a9.tar.bz2 |
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.
Diffstat (limited to 'universe/include')
-rw-r--r-- | universe/include/kurator/universe/ShipType.h | 20 | ||||
-rw-r--r-- | universe/include/kurator/universe/TurretType.h | 22 |
2 files changed, 42 insertions, 0 deletions
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 |