summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actAiClass.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-06-05 17:09:06 +0200
committerLéo Lam <leo@leolam.fr>2020-08-18 22:50:25 +0200
commit2de366be0fa75e571c605e017b5604bccbdb75bf (patch)
treeb8044fc96bba792b1875067032da2fd4498a44a3 /src/KingSystem/ActorSystem/actAiClass.cpp
Initial commit
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