aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/AISystem.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-04 17:27:51 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-04 17:27:51 +0100
commit121387ba92a23d6f17b36331d25757abc899f7d2 (patch)
tree7d335c9b0ae3449733ffe1b05ceda8a26a6706af /src/crepe/system/AISystem.h
parente303bd4c54b0edbcd1819a47a5d8aaef88211a09 (diff)
Implemeted seek behavior
Diffstat (limited to 'src/crepe/system/AISystem.h')
-rw-r--r--src/crepe/system/AISystem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crepe/system/AISystem.h b/src/crepe/system/AISystem.h
index eb8d08c..5e94ccb 100644
--- a/src/crepe/system/AISystem.h
+++ b/src/crepe/system/AISystem.h
@@ -15,6 +15,9 @@ public:
private:
vec2 calculate(AI & ai);
+ bool accumulate_force(vec2 & running_total, vec2 force_to_add);
+
+ vec2 seek(const AI & ai);
};
} // namespace crepe