diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-04 13:17:08 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-04 13:17:08 +0100 |
commit | ac87bfad20e1bcf1fd066a4eda231608fe12f504 (patch) | |
tree | 1ecf875bcbb3c3a846178869745bdfce7ce182b9 /src/crepe/api/AI.cpp | |
parent | 16444f19ae2c7c71a2be53ce6fd2e4d671aa8765 (diff) |
Added AI component
Diffstat (limited to 'src/crepe/api/AI.cpp')
-rw-r--r-- | src/crepe/api/AI.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/crepe/api/AI.cpp b/src/crepe/api/AI.cpp new file mode 100644 index 0000000..6b63216 --- /dev/null +++ b/src/crepe/api/AI.cpp @@ -0,0 +1,11 @@ +#include "AI.h" + +namespace crepe { + +AI::AI(game_object_id_t id, double mass, double max_speed, double max_force) + : Component(id), + mass(mass), + max_speed(max_speed), + max_force(max_force) {} + +} // namespace crepe |