| 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 PlayerExternalVelocity; |
| 13 | class IUsePlayerCollision; |
| 14 | |
| 15 | class PlayerJudgeAirForceCount : public al::HioNode, public IJudge { |
| 16 | public: |
| 17 | PlayerJudgeAirForceCount(const al::LiveActor* player, |
| 18 | const PlayerExternalVelocity* externalVelocity, |
| 19 | const IUsePlayerCollision* collider); |
| 20 | |
| 21 | void reset() override; |
| 22 | void update() override; |
| 23 | bool judge() const override; |
| 24 | |
| 25 | private: |
| 26 | const al::LiveActor* mPlayer; |
| 27 | const PlayerExternalVelocity* mExternalVelocity; |
| 28 | const IUsePlayerCollision* mCollider; |
| 29 | s32 mCounterAirForce = 0; |
| 30 | }; |
| 31 |