summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiGanonThrowActorRoot.cpp
blob: 1fe07d5d90c8a4d932e7fbe98872948a9a1a7d3f (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
33
34
35
#include "Game/Actor/AI/aiGanonThrowActorRoot.h"

namespace uking::ai {

GanonThrowActorRoot::GanonThrowActorRoot(const InitArg& arg) : ksys::act::ai::Ai(arg) {}

GanonThrowActorRoot::~GanonThrowActorRoot() = default;

bool GanonThrowActorRoot::init_(sead::Heap* heap) {
    return ksys::act::ai::Ai::init_(heap);
}

void GanonThrowActorRoot::enter_(ksys::act::ai::InlineParamPack* params) {
    ksys::act::ai::Ai::enter_(params);
}

void GanonThrowActorRoot::leave_() {
    ksys::act::ai::Ai::leave_();
}

void GanonThrowActorRoot::loadParams_() {
    getStaticParam(&mAttackDamage_s, "AttackDamage");
    getStaticParam(&mAtMinDamage_s, "AtMinDamage");
    getStaticParam(&mAddAtackPower_s, "AddAtackPower");
    getStaticParam(&mIsThrowQuick_s, "IsThrowQuick");
    getStaticParam(&mIsWaitBulletDelete_s, "IsWaitBulletDelete");
    getStaticParam(&mIsSetSystemGroupHandler_s, "IsSetSystemGroupHandler");
    getStaticParam(&mIsSendDeleteMessageAtLeave_s, "IsSendDeleteMessageAtLeave");
    getStaticParam(&mThrowActorName_s, "ThrowActorName");
    getStaticParam(&mRegisterPartsName_s, "RegisterPartsName");
    getDynamicParam(&mTargetPos_d, "TargetPos");
    getDynamicParam(&mViewPos_d, "ViewPos");
}

}  // namespace uking::ai