mirror of
https://github.com/zeldaret/botw
synced 2026-08-05 01:19:17 -04:00
Generate actions
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#include "Game/AI/Action/actionCatch.h"
|
||||
|
||||
namespace uking::action {
|
||||
|
||||
Catch::Catch(const InitArg& arg) : ActionEx(arg) {}
|
||||
|
||||
Catch::~Catch() = default;
|
||||
|
||||
bool Catch::init_(sead::Heap* heap) {
|
||||
return ActionEx::init_(heap);
|
||||
}
|
||||
|
||||
void Catch::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ActionEx::enter_(params);
|
||||
}
|
||||
|
||||
void Catch::leave_() {
|
||||
ActionEx::leave_();
|
||||
}
|
||||
|
||||
void Catch::loadParams_() {
|
||||
getStaticParam(&mWeaponIdx_s, "WeaponIdx");
|
||||
getDynamicParam(&mTargetWeapon_d, "TargetWeapon");
|
||||
getStaticParam(&mRotSpd_s, "RotSpd");
|
||||
getStaticParam(&mASName_s, "ASName");
|
||||
}
|
||||
|
||||
void Catch::calc_() {
|
||||
ActionEx::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
Reference in New Issue
Block a user