1#pragma once
2
3class IPlayerModelChanger;
4class PlayerAnimator;
5class PlayerCarryKeeper;
6class PlayerJudgeDiveInWater;
7
8class PlayerActionDiveInWater {
9public:
10 PlayerActionDiveInWater(PlayerAnimator* animator, const IPlayerModelChanger* modelChanger,
11 const PlayerCarryKeeper* carryKeeper,
12 const PlayerJudgeDiveInWater* judgeDiveInWater);
13 bool tryChangeDiveInWaterAnim();
14 bool judgeEnableDiveInWater() const;
15 bool isDiveInWaterAnim() const;
16
17private:
18 PlayerAnimator* mAnimator;
19 const IPlayerModelChanger* mModelChanger;
20 const PlayerCarryKeeper* mCarryKeeper;
21 const PlayerJudgeDiveInWater* mJudgeDiveInWater;
22};
23