summaryrefslogtreecommitdiff
path: root/battles/include
diff options
context:
space:
mode:
Diffstat (limited to 'battles/include')
-rw-r--r--battles/include/kurator/battles/Battle.h22
-rw-r--r--battles/include/kurator/battles/Scenario.h22
-rw-r--r--battles/include/kurator/battles/ShipConfig.h23
3 files changed, 67 insertions, 0 deletions
diff --git a/battles/include/kurator/battles/Battle.h b/battles/include/kurator/battles/Battle.h
new file mode 100644
index 0000000..0923f36
--- /dev/null
+++ b/battles/include/kurator/battles/Battle.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <entt/entity/registry.hpp>
+
+#include "Scenario.h"
+
+
+namespace kurator
+{
+namespace battles
+{
+
+
+struct Battle
+{
+ explicit Battle(Scenario scenario);
+ entt::registry registry;
+};
+
+
+} // namespace battles
+} // namespace kurator
diff --git a/battles/include/kurator/battles/Scenario.h b/battles/include/kurator/battles/Scenario.h
new file mode 100644
index 0000000..94adf73
--- /dev/null
+++ b/battles/include/kurator/battles/Scenario.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <vector>
+
+#include "ShipConfig.h"
+
+
+namespace kurator
+{
+namespace battles
+{
+
+
+struct Scenario
+{
+ using TeamComposition = std::vector<ShipConfig>;
+ std::vector<TeamComposition> teams;
+};
+
+
+} // namespace battles
+} // namespace kurator
diff --git a/battles/include/kurator/battles/ShipConfig.h b/battles/include/kurator/battles/ShipConfig.h
new file mode 100644
index 0000000..f2315fe
--- /dev/null
+++ b/battles/include/kurator/battles/ShipConfig.h
@@ -0,0 +1,23 @@
+#pragma once
+
+#include <vector>
+
+#include <kurator/universe/ShipType.h>
+#include <kurator/universe/TurretType.h>
+
+
+namespace kurator
+{
+namespace battles
+{
+
+
+struct ShipConfig
+{
+ universe::ShipType type;
+ std::vector<universe::TurretType> turrets;
+};
+
+
+} // namespace battles
+} // namespace kurator