summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actAiRoot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/ActorSystem/actAiRoot.cpp')
-rw-r--r--src/KingSystem/ActorSystem/actAiRoot.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actAiRoot.cpp b/src/KingSystem/ActorSystem/actAiRoot.cpp
new file mode 100644
index 00000000..041ab86c
--- /dev/null
+++ b/src/KingSystem/ActorSystem/actAiRoot.cpp
@@ -0,0 +1,19 @@
+#include "KingSystem/ActorSystem/actAiRoot.h"
+
+namespace ksys::act::ai {
+
+RootAi::RootAi(const InitArg& arg) : Ai(arg) {
+ mBehaviorsByStopAndCalcTiming[0].fill({});
+ mBehaviorsByStopAndCalcTiming[1].fill({});
+}
+
+RootAi::~RootAi() {
+ mQueries.finalize();
+ mBehaviors.finalize();
+ mAis.finalize();
+ mActions.finalize();
+ if (_140)
+ delete _140;
+}
+
+} // namespace ksys::act::ai