mirror of
https://github.com/zeldaret/botw
synced 2026-08-18 21:27:36 -04:00
Generate actions
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user