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

29 lines
716 B
C++

#include "Game/Actor/Action/actionStun.h"
namespace uking::action {
Stun::Stun(const InitArg& arg) : ksys::act::ai::Action(arg) {}
Stun::~Stun() = default;
void Stun::enter_(ksys::act::ai::InlineParamPack* params) {
ksys::act::ai::Action::enter_(params);
}
void Stun::leave_() {
ksys::act::ai::Action::leave_();
}
void Stun::loadParams_() {
getStaticParam(&mTime_s, "Time");
getStaticParam(&mHitImpactForceSmallSwordS_s, "HitImpactForceSmallSwordS");
getStaticParam(&mHitImpactForceLargeSwordS_s, "HitImpactForceLargeSwordS");
getStaticParam(&mHitImpactForceSpearS_s, "HitImpactForceSpearS");
}
void Stun::calc_() {
ksys::act::ai::Action::calc_();
}
} // namespace uking::action