summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Player/Action/actionPlayerSwimWait.h
blob: 3c2ca24bcd4215816678afe4f0ad22f623e927f4 (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
#pragma once

#include "Game/Actor/Player/Action/actionPlayerAction.h"
#include "KingSystem/ActorSystem/actAiAction.h"

namespace uking::action {

class PlayerSwimWait : public PlayerAction {
    SEAD_RTTI_OVERRIDE(PlayerSwimWait, PlayerAction)
public:
    explicit PlayerSwimWait(const InitArg& arg);

    void enter_(ksys::act::ai::InlineParamPack* params) override;
    void leave_() override;
    void loadParams_() override;

protected:
    void calc_() override;

    // static_param at offset 0x20
    const float* mEnergyWait_s{};
    // static_param at offset 0x28
    const float* mDecSpeedRate_s{};
};

}  // namespace uking::action