Files
botw/src/Game/Actor/Action/actionFreeMoveRandom.cpp
T
Léo Lam f4cd38c43b Actor: move all AI code under Game/Actor
Link order shows one sorted actor tree, not a separate AI project: the
Action/AI/Query folders and per-feature folders (Camera, Player, Horse,
...) come out of the same archive rounds as the actor classes.

(AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2026-09-14 00:02:22 +02:00

38 lines
1.0 KiB
C++

#include "Game/Actor/Action/actionFreeMoveRandom.h"
namespace uking::action {
FreeMoveRandom::FreeMoveRandom(const InitArg& arg) : FreeMove(arg) {}
FreeMoveRandom::~FreeMoveRandom() = default;
bool FreeMoveRandom::init_(sead::Heap* heap) {
return FreeMove::init_(heap);
}
void FreeMoveRandom::enter_(ksys::act::ai::InlineParamPack* params) {
FreeMove::enter_(params);
}
void FreeMoveRandom::leave_() {
FreeMove::leave_();
}
void FreeMoveRandom::loadParams_() {
FreeMove::loadParams_();
getStaticParam(&mRandVertical_s, "RandVertical");
getStaticParam(&mRandHorizontal_s, "RandHorizontal");
getStaticParam(&mRandSpeedMax_s, "RandSpeedMax");
getStaticParam(&mRandSpeedMin_s, "RandSpeedMin");
getStaticParam(&mTargetDistance_s, "TargetDistance");
getStaticParam(&mHeightMax_s, "HeightMax");
getStaticParam(&mHeightMin_s, "HeightMin");
getStaticParam(&mMoveAreaRadius_s, "MoveAreaRadius");
}
void FreeMoveRandom::calc_() {
FreeMove::calc_();
}
} // namespace uking::action