mirror of
https://github.com/zeldaret/botw
synced 2026-07-11 22:40:14 -04:00
Generate actions
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#include "Game/AI/Action/actionPlayerWaterFallJump.h"
|
||||
|
||||
namespace uking::action {
|
||||
|
||||
PlayerWaterFallJump::PlayerWaterFallJump(const InitArg& arg) : PlayerAction(arg) {}
|
||||
|
||||
PlayerWaterFallJump::~PlayerWaterFallJump() = default;
|
||||
|
||||
bool PlayerWaterFallJump::init_(sead::Heap* heap) {
|
||||
return PlayerAction::init_(heap);
|
||||
}
|
||||
|
||||
void PlayerWaterFallJump::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
PlayerAction::enter_(params);
|
||||
}
|
||||
|
||||
void PlayerWaterFallJump::leave_() {
|
||||
PlayerAction::leave_();
|
||||
}
|
||||
|
||||
void PlayerWaterFallJump::loadParams_() {
|
||||
getStaticParam(&mJumpSpeedF_s, "JumpSpeedF");
|
||||
getStaticParam(&mJumpHeight_s, "JumpHeight");
|
||||
getStaticParam(&mJumpHeightWaterRemain_s, "JumpHeightWaterRemain");
|
||||
getStaticParam(&mJumpHeightWithZora_s, "JumpHeightWithZora");
|
||||
}
|
||||
|
||||
void PlayerWaterFallJump::calc_() {
|
||||
PlayerAction::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
Reference in New Issue
Block a user