Files
botw/src/Game/Actor/Action/actionBackStepToTarget.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

32 lines
879 B
C++

#include "Game/Actor/Action/actionBackStepToTarget.h"
namespace uking::action {
BackStepToTarget::BackStepToTarget(const InitArg& arg) : ActionEx(arg) {}
BackStepToTarget::~BackStepToTarget() = default;
void BackStepToTarget::enter_(ksys::act::ai::InlineParamPack* params) {
ActionEx::enter_(params);
}
void BackStepToTarget::leave_() {
ActionEx::leave_();
}
void BackStepToTarget::loadParams_() {
getDynamicParam(&mTargetPos_d, "TargetPos");
getStaticParam(&mStopSpeedRatio_s, "StopSpeedRatio");
getStaticParam(&mStopRotSpeedRatio_s, "StopRotSpeedRatio");
getStaticParam(&mJumpGravity_s, "JumpGravity");
getStaticParam(&mJumpHeight_s, "JumpHeight");
getStaticParam(&mRotRatio_s, "RotRatio");
getStaticParam(&mCheckRotEvent_s, "CheckRotEvent");
}
void BackStepToTarget::calc_() {
ActionEx::calc_();
}
} // namespace uking::action