summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiPreyDefWanderAI.cpp
blob: 5e73a8135f96c5f132492993f742842184b981c3 (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/aiPreyDefWanderAI.h"

namespace uking::ai {

PreyDefWanderAI::PreyDefWanderAI(const InitArg& arg) : DefWanderAI(arg) {}

PreyDefWanderAI::~PreyDefWanderAI() = default;

bool PreyDefWanderAI::init_(sead::Heap* heap) {
    return DefWanderAI::init_(heap);
}

void PreyDefWanderAI::enter_(ksys::act::ai::InlineParamPack* params) {
    DefWanderAI::enter_(params);
}

void PreyDefWanderAI::leave_() {
    DefWanderAI::leave_();
}

void PreyDefWanderAI::loadParams_() {
    DefWanderAI::loadParams_();
    getStaticParam(&mTimesStuckLimit_s, "TimesStuckLimit");
    getStaticParam(&mFramesStuckLimit_s, "FramesStuckLimit");
    getAITreeVariable(&mFramesStuckOnTerrain_a, "FramesStuckOnTerrain");
    getAITreeVariable(&mIsStuckOnTerrain_a, "IsStuckOnTerrain");
}

}  // namespace uking::ai