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

namespace uking::ai {

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

PointWindTagRoot::~PointWindTagRoot() = default;

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

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

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

void PointWindTagRoot::loadParams_() {
    getMapUnitParam(&mDirection_m, "Direction");
    getMapUnitParam(&mWindSpeed_m, "WindSpeed");
    getMapUnitParam(&mShape_m, "Shape");
}

}  // namespace uking::ai