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
@@ -0,0 +1,33 @@
#include "Game/AI/Action/actionPlayerGrabThrow.h"
namespace uking::action {
PlayerGrabThrow::PlayerGrabThrow(const InitArg& arg) : PlayerAction(arg) {}
PlayerGrabThrow::~PlayerGrabThrow() = default;
bool PlayerGrabThrow::init_(sead::Heap* heap) {
return PlayerAction::init_(heap);
}
void PlayerGrabThrow::enter_(ksys::act::ai::InlineParamPack* params) {
PlayerAction::enter_(params);
}
void PlayerGrabThrow::leave_() {
PlayerAction::leave_();
}
void PlayerGrabThrow::loadParams_() {
getStaticParam(&mOverThrowSpeedYB_s, "OverThrowSpeedYB");
getStaticParam(&mOverThrowSpeedFB_s, "OverThrowSpeedFB");
getStaticParam(&mOverThrowSpeedYL_s, "OverThrowSpeedYL");
getStaticParam(&mOverThrowSpeedFL_s, "OverThrowSpeedFL");
getStaticParam(&mOverThrowInertiaRate_s, "OverThrowInertiaRate");
}
void PlayerGrabThrow::calc_() {
PlayerAction::calc_();
}
} // namespace uking::action