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

namespace uking::action {

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

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

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

void PlayerWeaponThrow::loadParams_() {
    getStaticParam(&mThrowSpeedY_s, "ThrowSpeedY");
    getStaticParam(&mThrowSpeedF_s, "ThrowSpeedF");
    getStaticParam(&mSquatThrowSpeedF_s, "SquatThrowSpeedF");
}

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

}  // namespace uking::action