diff options
Diffstat (limited to 'sim/include')
-rw-r--r-- | sim/include/kurator/sim/ai.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sim/include/kurator/sim/ai.h b/sim/include/kurator/sim/ai.h index f9899d6..0ffa1cc 100644 --- a/sim/include/kurator/sim/ai.h +++ b/sim/include/kurator/sim/ai.h @@ -1,9 +1,13 @@ #pragma once +#include <functional> + #include <entt/entt.hpp> #include <kurator/engine/Point.h> +#include "State.h" + namespace kurator { @@ -11,9 +15,12 @@ namespace sim { +using Action = std::function<void()>; + + struct AIShip { - double keep_at_range; + Action action; engine::Point destination; entt::entity target = entt::null; }; |