summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Player/Action/actionPlayerWaterFallJump.cpp
blob: 460685f77820a6203958681318efb5e85184dfaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "Game/Actor/Player/Action/actionPlayerWaterFallJump.h"

namespace uking::action {

PlayerWaterFallJump::PlayerWaterFallJump(const InitArg& arg) : PlayerAction(arg) {}

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