summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiEventTimeRoot.cpp
blob: cec17fa29d110dc0d6a35f286153870204cd4f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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