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

namespace uking::ai {

GiantEarthReleaseAttack::GiantEarthReleaseAttack(const InitArg& arg) : EarthReleaseAttack(arg) {}

GiantEarthReleaseAttack::~GiantEarthReleaseAttack() = default;

bool GiantEarthReleaseAttack::init_(sead::Heap* heap) {
    return EarthReleaseAttack::init_(heap);
}

void GiantEarthReleaseAttack::enter_(ksys::act::ai::InlineParamPack* params) {
    EarthReleaseAttack::enter_(params);
}

void GiantEarthReleaseAttack::leave_() {
    EarthReleaseAttack::leave_();
}

void GiantEarthReleaseAttack::loadParams_() {
    EarthReleaseAttack::loadParams_();
    getStaticParam(&mStartHeight_s, "StartHeight");
    getStaticParam(&mStartDistFromTarget_s, "StartDistFromTarget");
    getAITreeVariable(&mKeepDistFromGround_a, "KeepDistFromGround");
    getAITreeVariable(&mIsArrivedAtDestination_a, "IsArrivedAtDestination");
    getAITreeVariable(&mDestinationPos_a, "DestinationPos");
}

}  // namespace uking::ai