summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiGolemPartRoot.cpp
blob: 0dde99e444fc50a1e4945a6dc51c7149750599bd (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
#include "Game/Actor/AI/aiGolemPartRoot.h"

namespace uking::ai {

GolemPartRoot::GolemPartRoot(const InitArg& arg) : ReuseBulletPartsRoot(arg) {}

GolemPartRoot::~GolemPartRoot() = default;

bool GolemPartRoot::init_(sead::Heap* heap) {
    return ReuseBulletPartsRoot::init_(heap);
}

void GolemPartRoot::enter_(ksys::act::ai::InlineParamPack* params) {
    ReuseBulletPartsRoot::enter_(params);
}

void GolemPartRoot::leave_() {
    ReuseBulletPartsRoot::leave_();
}

void GolemPartRoot::loadParams_() {
    ReuseBulletPartsRoot::loadParams_();
    getStaticParam(&mChemFieldScale_s, "ChemFieldScale");
    getStaticParam(&mNormalAS_s, "NormalAS");
    getStaticParam(&mActiveAS_s, "ActiveAS");
    getAITreeVariable(&mGolemPartInitialIceMagic_a, "GolemPartInitialIceMagic");
    getAITreeVariable(&mGolemPartInitialBurn_a, "GolemPartInitialBurn");
}

}  // namespace uking::ai