mirror of
https://github.com/zeldaret/botw
synced 2026-07-11 22:40:14 -04:00
Generate actions
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#include "Game/AI/Action/actionBackStepToTarget.h"
|
||||
|
||||
namespace uking::action {
|
||||
|
||||
BackStepToTarget::BackStepToTarget(const InitArg& arg) : ActionEx(arg) {}
|
||||
|
||||
BackStepToTarget::~BackStepToTarget() = default;
|
||||
|
||||
bool BackStepToTarget::init_(sead::Heap* heap) {
|
||||
return ActionEx::init_(heap);
|
||||
}
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user