| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <basis/seadTypes.h> |
| 4 | |
| 5 | #include "Library/HostIO/HioNode.h" |
| 6 | |
| 7 | #include "Player/IJudge.h" |
| 8 | |
| 9 | class PlayerConst; |
| 10 | class PlayerInput; |
| 11 | |
| 12 | class PlayerJudgePreInputJump : public al::HioNode, public IJudge { |
| 13 | public: |
| 14 | PlayerJudgePreInputJump(const PlayerConst* pConst, const PlayerInput* input, |
| 15 | IJudge* judgeForceSlopeSlide); |
| 16 | void reset() override; |
| 17 | void update() override; |
| 18 | bool judge() const override; |
| 19 | |
| 20 | private: |
| 21 | const PlayerConst* mConst; |
| 22 | const PlayerInput* mInput; |
| 23 | IJudge* mJudgeForceSlopeSlide; |
| 24 | s32 mRemainJumpFrame = 0; |
| 25 | }; |
| 26 |