| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | class IPlayerModelChanger; |
| 4 | class PlayerAnimator; |
| 5 | class PlayerCarryKeeper; |
| 6 | class PlayerJudgeDiveInWater; |
| 7 | |
| 8 | class PlayerActionDiveInWater { |
| 9 | public: |
| 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 | |
| 17 | private: |
| 18 | PlayerAnimator* mAnimator; |
| 19 | const IPlayerModelChanger* mModelChanger; |
| 20 | const PlayerCarryKeeper* mCarryKeeper; |
| 21 | const PlayerJudgeDiveInWater* mJudgeDiveInWater; |
| 22 | }; |
| 23 |