diff options
Diffstat (limited to 'src/Game/Actor/AI/aiEventTimeRoot.cpp')
| -rw-r--r-- | src/Game/Actor/AI/aiEventTimeRoot.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/Game/Actor/AI/aiEventTimeRoot.cpp b/src/Game/Actor/AI/aiEventTimeRoot.cpp new file mode 100644 index 00000000..cec17fa2 --- /dev/null +++ b/src/Game/Actor/AI/aiEventTimeRoot.cpp @@ -0,0 +1,26 @@ +#include "Game/Actor/AI/aiEventTimeRoot.h" + +namespace uking::ai { + +EventTimeRoot::EventTimeRoot(const InitArg& arg) : ksys::act::ai::Ai(arg) {} + +EventTimeRoot::~EventTimeRoot() = default; + +bool EventTimeRoot::init_(sead::Heap* heap) { + return ksys::act::ai::Ai::init_(heap); +} + +void EventTimeRoot::enter_(ksys::act::ai::InlineParamPack* params) { + ksys::act::ai::Ai::enter_(params); +} + +void EventTimeRoot::leave_() { + ksys::act::ai::Ai::leave_(); +} + +void EventTimeRoot::loadParams_() { + getStaticParam(&mTimeLimit_s, "TimeLimit"); + getStaticParam(&mIsCountDown_s, "IsCountDown"); +} + +} // namespace uking::ai |
