summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiGolemRoot.cpp
blob: 7db68f6663dd890de35dd61986399a1955801bd4 (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
27
28
29
30
31
32
#include "Game/Actor/AI/aiGolemRoot.h"

namespace uking::ai {

GolemRoot::GolemRoot(const InitArg& arg) : GolemRootBase(arg) {}

GolemRoot::~GolemRoot() = default;

bool GolemRoot::init_(sead::Heap* heap) {
    return GolemRootBase::init_(heap);
}

void GolemRoot::enter_(ksys::act::ai::InlineParamPack* params) {
    GolemRootBase::enter_(params);
}

void GolemRoot::leave_() {
    GolemRootBase::leave_();
}

void GolemRoot::loadParams_() {
    GolemRootBase::loadParams_();
    getStaticParam(&mClimbFinishTime_s, "ClimbFinishTime");
    getStaticParam(&mStandContactHeight_s, "StandContactHeight");
    getStaticParam(&mIsBreakContactTree_s, "IsBreakContactTree");
    getMapUnitParam(&mGolemWeakPointLocation_m, "GolemWeakPointLocation");
    getMapUnitParam(&mGolemSleepType_m, "GolemSleepType");
    getMapUnitParam(&mGolemWeakPointActor_m, "GolemWeakPointActor");
    getAITreeVariable(&mGolemClimbedTime_a, "GolemClimbedTime");
}

}  // namespace uking::ai