summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Player/Action/actionPlayerSideStep.cpp
blob: 4fb734636c28a800ca45ec45c900385aa33598ff (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
27
28
29
30
31
#include "Game/Actor/Player/Action/actionPlayerSideStep.h"

namespace uking::action {

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

void PlayerSideStep::enter_(ksys::act::ai::InlineParamPack* params) {
    PlayerAction::enter_(params);
}

void PlayerSideStep::leave_() {
    PlayerAction::leave_();
}

void PlayerSideStep::loadParams_() {
    getStaticParam(&mSpeedF_s, "SpeedF");
    getStaticParam(&mHeight_s, "Height");
    getStaticParam(&mFSpeedF_s, "FSpeedF");
    getStaticParam(&mFHeight_s, "FHeight");
    getStaticParam(&mUHeight_s, "UHeight");
    getStaticParam(&mNoDamageTime_s, "NoDamageTime");
    getStaticParam(&mJustAvoidTime_s, "JustAvoidTime");
    getStaticParam(&mForceSlowTime_s, "ForceSlowTime");
    getStaticParam(&mMySlowStartFrame_s, "MySlowStartFrame");
}

void PlayerSideStep::calc_() {
    PlayerAction::calc_();
}

}  // namespace uking::action