aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/AI.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-04 13:17:08 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-04 13:17:08 +0100
commitac87bfad20e1bcf1fd066a4eda231608fe12f504 (patch)
tree1ecf875bcbb3c3a846178869745bdfce7ce182b9 /src/crepe/api/AI.h
parent16444f19ae2c7c71a2be53ce6fd2e4d671aa8765 (diff)
Added AI component
Diffstat (limited to 'src/crepe/api/AI.h')
-rw-r--r--src/crepe/api/AI.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/crepe/api/AI.h b/src/crepe/api/AI.h
new file mode 100644
index 0000000..b755439
--- /dev/null
+++ b/src/crepe/api/AI.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "Component.h"
+#include "types.h"
+
+namespace crepe {
+
+class AI : public Component {
+public:
+ AI(game_object_id_t id, double mass, double max_speed, double max_force);
+
+public:
+ double mass;
+ double max_speed;
+ double max_force;
+};
+
+} // namespace crepe