summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actAiClass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/ActorSystem/actAiClass.cpp')
-rw-r--r--src/KingSystem/ActorSystem/actAiClass.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actAiClass.cpp b/src/KingSystem/ActorSystem/actAiClass.cpp
new file mode 100644
index 00000000..a75511d3
--- /dev/null
+++ b/src/KingSystem/ActorSystem/actAiClass.cpp
@@ -0,0 +1,8 @@
+#include "KingSystem/ActorSystem/actAiClass.h"
+
+namespace ksys::act::ai {
+
+ActionBase::ActionBase(const ClassArg& arg)
+ : mActor{arg.actor}, mDefinitionIdx{u16(arg.definitionIdx)}, mRootIdx{u8(arg.rootIdx)} {}
+
+} // namespace ksys::act::ai