Generate actions

This commit is contained in:
Léo Lam
2020-12-26 22:42:23 +01:00
parent dff91d6b4c
commit 02c583ca4d
3864 changed files with 138282 additions and 6792 deletions
+35
View File
@@ -0,0 +1,35 @@
#include "Game/AI/Action/actionLargeAttack.h"
namespace uking::action {
LargeAttack::LargeAttack(const InitArg& arg) : ActionEx(arg) {}
LargeAttack::~LargeAttack() = default;
bool LargeAttack::init_(sead::Heap* heap) {
return ActionEx::init_(heap);
}
void LargeAttack::enter_(ksys::act::ai::InlineParamPack* params) {
ActionEx::enter_(params);
}
void LargeAttack::leave_() {
ActionEx::leave_();
}
void LargeAttack::loadParams_() {
getStaticParam(&mRotSpd_s, "RotSpd");
getDynamicParam(&mTargetPos_d, "TargetPos");
getStaticParam(&mAttackRatio_s, "AttackRatio");
getStaticParam(&mWeaponIdx_s, "WeaponIdx");
getStaticParam(&mJustAvoidSideDist_s, "JustAvoidSideDist");
getStaticParam(&mJustAvoidBackDist_s, "JustAvoidBackDist");
getStaticParam(&mJustAvoidAngle_s, "JustAvoidAngle");
}
void LargeAttack::calc_() {
ActionEx::calc_();
}
} // namespace uking::action