| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Library/HostIO/HioNode.h" |
| 4 | |
| 5 | #include "Player/IJudge.h" |
| 6 | |
| 7 | namespace al { |
| 8 | class LiveActor; |
| 9 | } |
| 10 | class PlayerConst; |
| 11 | class IUsePlayerHeightCheck; |
| 12 | class IUsePlayerFallDistanceCheck; |
| 13 | |
| 14 | class PlayerJudgeDiveInWater : public al::HioNode, public IJudge { |
| 15 | public: |
| 16 | PlayerJudgeDiveInWater(const al::LiveActor* player, const PlayerConst* playerConst, |
| 17 | const IUsePlayerHeightCheck* heightCheck, |
| 18 | const IUsePlayerFallDistanceCheck* fallDistanceCheck); |
| 19 | |
| 20 | void reset() override {} |
| 21 | |
| 22 | void update() override {} |
| 23 | |
| 24 | bool judge() const override; |
| 25 | |
| 26 | private: |
| 27 | const al::LiveActor* mPlayer; |
| 28 | const PlayerConst* mConst; |
| 29 | const IUsePlayerHeightCheck* mHeightCheck; |
| 30 | const IUsePlayerFallDistanceCheck* mFallDistanceCheck; |
| 31 | }; |
| 32 | |
| 33 | static_assert(sizeof(PlayerJudgeDiveInWater) == 0x28); |
| 34 |