summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Player/AI/aiPlayerNavDestinationMove.cpp
blob: 78ea1be9f5d2940d134efd6f3ea6c9135cd5acec (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/Player/AI/aiPlayerNavDestinationMove.h"

namespace uking::ai {

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

PlayerNavDestinationMove::~PlayerNavDestinationMove() = default;

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

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

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

void PlayerNavDestinationMove::loadParams_() {
    getDynamicParam(&mDestPosX_d, "DestPosX");
    getDynamicParam(&mDestPosY_d, "DestPosY");
    getDynamicParam(&mDestPosZ_d, "DestPosZ");
    getDynamicParam(&mStickValue_d, "StickValue");
}

}  // namespace uking::ai