summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Player/Action/actionPlayerCutAfterJust.cpp
blob: 7bc3cd00b07c9913877ff33b96e9d1b33bea63d1 (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
#include "Game/Actor/Player/Action/actionPlayerCutAfterJust.h"

namespace uking::action {

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

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

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

void PlayerCutAfterJust::loadParams_() {
    getStaticParam(&mSlowContTime_s, "SlowContTime");
    getStaticParam(&mLastCutAcceptTime_s, "LastCutAcceptTime");
    getStaticParam(&mLastCutAcceptTimeLSword_s, "LastCutAcceptTimeLSword");
    getStaticParam(&mLastCutAcceptTimeSpear_s, "LastCutAcceptTimeSpear");
    getStaticParam(&mForceSlowTime_s, "ForceSlowTime");
}

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

}  // namespace uking::action