From 2de366be0fa75e571c605e017b5604bccbdb75bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Fri, 5 Jun 2020 17:09:06 +0200 Subject: Initial commit --- src/KingSystem/ActorSystem/actAiClass.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/KingSystem/ActorSystem/actAiClass.cpp (limited to 'src/KingSystem/ActorSystem/actAiClass.cpp') 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 -- cgit v1.2.3