summaryrefslogtreecommitdiff
path: root/sim/include
diff options
context:
space:
mode:
Diffstat (limited to 'sim/include')
-rw-r--r--sim/include/kurator/sim/ai.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sim/include/kurator/sim/ai.h b/sim/include/kurator/sim/ai.h
index 0ffa1cc..4953d4f 100644
--- a/sim/include/kurator/sim/ai.h
+++ b/sim/include/kurator/sim/ai.h
@@ -1,7 +1,5 @@
#pragma once
-#include <functional>
-
#include <entt/entt.hpp>
#include <kurator/engine/Point.h>
@@ -15,16 +13,19 @@ namespace sim
{
-using Action = std::function<void()>;
-
-
struct AIShip
{
- Action action;
engine::Point destination;
entt::entity target = entt::null;
};
+struct KeepAtRange
+{
+ double distance;
+ entt::entity target = entt::null;
+};
+
+
} // namespace sim
} // namespace kurator