| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <basis/seadTypes.h> |
| 4 | |
| 5 | #include "Library/HostIO/HioNode.h" |
| 6 | |
| 7 | #include "Player/IJudge.h" |
| 8 | |
| 9 | namespace al { |
| 10 | class LiveActor; |
| 11 | } |
| 12 | class IUsePlayerCollision; |
| 13 | class PlayerConst; |
| 14 | |
| 15 | class PlayerJudgeSpeedCheckFall : public al::HioNode, public IJudge { |
| 16 | public: |
| 17 | PlayerJudgeSpeedCheckFall(const al::LiveActor* player, const IUsePlayerCollision* collision, |
| 18 | const PlayerConst* pConst, const IJudge* judgeWaterSurfaceRun); |
| 19 | |
| 20 | void reset() override; |
| 21 | void update() override; |
| 22 | bool judge() const override; |
| 23 | |
| 24 | private: |
| 25 | const al::LiveActor* mPlayer; |
| 26 | const IUsePlayerCollision* mCollision; |
| 27 | const PlayerConst* mConst; |
| 28 | const IJudge* mJudgeStartWaterSurfaceRun; |
| 29 | s32 mFramesNoCollideGround = 0; |
| 30 | }; |
| 31 |