summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiDomesticNormal.cpp
blob: 91800a74f548e79b00285cbdcd3e255e1ebe639a (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
31
32
#include "Game/Actor/AI/aiDomesticNormal.h"

namespace uking::ai {

DomesticNormal::DomesticNormal(const InitArg& arg) : PreyNormal(arg) {}

DomesticNormal::~DomesticNormal() = default;

bool DomesticNormal::init_(sead::Heap* heap) {
    return PreyNormal::init_(heap);
}

void DomesticNormal::enter_(ksys::act::ai::InlineParamPack* params) {
    PreyNormal::enter_(params);
}

void DomesticNormal::leave_() {
    PreyNormal::leave_();
}

void DomesticNormal::loadParams_() {
    PreyNormal::loadParams_();
    getStaticParam(&mWaitFramesAfterRunMax_s, "WaitFramesAfterRunMax");
    getStaticParam(&mNumFailPathHomeFadeout_s, "NumFailPathHomeFadeout");
    getStaticParam(&mDistUntilReturnToHomePos_s, "DistUntilReturnToHomePos");
    getStaticParam(&mWaitFramesAfterRunMin_s, "WaitFramesAfterRunMin");
    getStaticParam(&mStaggerVelocityThreshold_s, "StaggerVelocityThreshold");
    getStaticParam(&mDistHomePosFadeout_s, "DistHomePosFadeout");
    getAITreeVariable(&mDomesticAnimalRailName_a, "DomesticAnimalRailName");
}

}  // namespace uking::ai