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

namespace uking::ai {

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

LynelBackStepFromTarget::~LynelBackStepFromTarget() = default;

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

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

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

void LynelBackStepFromTarget::loadParams_() {
    getStaticParam(&mMoveDistMin_s, "MoveDistMin");
    getStaticParam(&mMoveDist_s, "MoveDist");
    getStaticParam(&mAddCheckAngle_s, "AddCheckAngle");
    getDynamicParam(&mTargetPos_d, "TargetPos");
}

}  // namespace uking::ai