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

namespace uking::ai {

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

LynelLineMoveAttack::~LynelLineMoveAttack() = default;

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

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

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

void LynelLineMoveAttack::loadParams_() {
    getStaticParam(&mWeaponIdx_s, "WeaponIdx");
    getStaticParam(&mGoalRadius_s, "GoalRadius");
    getDynamicParam(&mIsSkipPrepare_d, "IsSkipPrepare");
    getDynamicParam(&mTargetPos_d, "TargetPos");
    getDynamicParam(&mTargetVel_d, "TargetVel");
}

}  // namespace uking::ai