diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-06 10:46:16 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-06 10:46:16 +0100 |
commit | 82863204048d65073bc5598dcb62f31e32b51430 (patch) | |
tree | 93a52ec686677d0a915db1d84aae7322be2321c2 /src/crepe/system/AISystem.h | |
parent | 9c2cafd85ed7aa9a860ba25fbe2bd3ccc2439f29 (diff) |
Corrected accumulate_force()
Diffstat (limited to 'src/crepe/system/AISystem.h')
-rw-r--r-- | src/crepe/system/AISystem.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crepe/system/AISystem.h b/src/crepe/system/AISystem.h index 5e94ccb..18f1c61 100644 --- a/src/crepe/system/AISystem.h +++ b/src/crepe/system/AISystem.h @@ -15,9 +15,12 @@ public: private: vec2 calculate(AI & ai); - bool accumulate_force(vec2 & running_total, vec2 force_to_add); + bool accumulate_force(AI & ai, vec2 & running_total, vec2 force_to_add); vec2 seek(const AI & ai); + vec2 flee(const AI & ai); + vec2 arrive(const AI & ai); + vec2 path_follow(const AI & ai); }; } // namespace crepe |