summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiMasterSwordRoot.cpp
blob: f31ec68fe167b3fb7705a5d76a4b74fac4fbb620 (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/aiMasterSwordRoot.h"

namespace uking::ai {

MasterSwordRoot::MasterSwordRoot(const InitArg& arg) : WeaponRootAI(arg) {}

MasterSwordRoot::~MasterSwordRoot() = default;

bool MasterSwordRoot::init_(sead::Heap* heap) {
    return WeaponRootAI::init_(heap);
}

void MasterSwordRoot::enter_(ksys::act::ai::InlineParamPack* params) {
    WeaponRootAI::enter_(params);
}

void MasterSwordRoot::leave_() {
    WeaponRootAI::leave_();
}

void MasterSwordRoot::loadParams_() {
    WeaponRootAI::loadParams_();
    getAITreeVariable(&mMagicCreateUnit_a, "MagicCreateUnit");
}

}  // namespace uking::ai