mirror of
https://github.com/zeldaret/botw
synced 2026-10-14 23:18:00 -04:00
f4cd38c43b
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)
38 lines
1.0 KiB
C++
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
|