mirror of
https://github.com/zeldaret/botw
synced 2026-10-10 05:51:51 -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)
31 lines
795 B
C++
31 lines
795 B
C++
#include "Game/Actor/Action/actionGrabAndShoot.h"
|
|
|
|
namespace uking::action {
|
|
|
|
GrabAndShoot::GrabAndShoot(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
|
|
|
GrabAndShoot::~GrabAndShoot() = default;
|
|
|
|
void GrabAndShoot::enter_(ksys::act::ai::InlineParamPack* params) {
|
|
ksys::act::ai::Action::enter_(params);
|
|
}
|
|
|
|
void GrabAndShoot::leave_() {
|
|
ksys::act::ai::Action::leave_();
|
|
}
|
|
|
|
void GrabAndShoot::loadParams_() {
|
|
getStaticParam(&mGrabIdx_s, "GrabIdx");
|
|
getStaticParam(&mShootSpeed_s, "ShootSpeed");
|
|
getStaticParam(&mShootAng_s, "ShootAng");
|
|
getStaticParam(&mRotSpd_s, "RotSpd");
|
|
getDynamicParam(&mTargetPos_d, "TargetPos");
|
|
getStaticParam(&mBlurMax_s, "BlurMax");
|
|
}
|
|
|
|
void GrabAndShoot::calc_() {
|
|
ksys::act::ai::Action::calc_();
|
|
}
|
|
|
|
} // namespace uking::action
|