Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
orders.h
Go to the documentation of this file.
1
2#include <entt/entt.hpp>
3
5
7enum class Command {
14 CoplanarIntercept, // Just intercepts
15 CoplanarInterceptAndTransfer, // Intercepts and matches orbit
16 Impulse,
18};
19
20enum class Trigger {
21 // When to trigger the command
24 OnManeuver, // When the previous manuever is executed
25 OnCrash,
26};
27
30};
31
33 double value; // Modifies the orbit by some sort of scalar
34};
35
37 entt::entity target;
38};
39} // namespace cqsp::common::components
Definition: area.h:23
Trigger
Definition: orders.h:20
Command
Definition: orders.h:7
entt::entity target
Definition: orders.h:37
double value
Definition: orders.h:33
types::Orbit orbit
Definition: orders.h:29