summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiPreyDropItemRoot.cpp
blob: 8c97030a2d2350877e7aafaee28a6333e6035c43 (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/aiPreyDropItemRoot.h"

namespace uking::ai {

PreyDropItemRoot::PreyDropItemRoot(const InitArg& arg) : PreyRoot(arg) {}

PreyDropItemRoot::~PreyDropItemRoot() = default;

bool PreyDropItemRoot::init_(sead::Heap* heap) {
    return PreyRoot::init_(heap);
}

void PreyDropItemRoot::enter_(ksys::act::ai::InlineParamPack* params) {
    PreyRoot::enter_(params);
}

void PreyDropItemRoot::leave_() {
    PreyRoot::leave_();
}

void PreyDropItemRoot::loadParams_() {
    PreyRoot::loadParams_();
    getStaticParam(&mMaxDropCount_s, "MaxDropCount");
    getStaticParam(&mForceDeleteInterval_s, "ForceDeleteInterval");
    getStaticParam(&mInitialVelocity_s, "InitialVelocity");
}

}  // namespace uking::ai