| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include "Player/IJudge.h" |
| 4 | |
| 5 | namespace al { |
| 6 | class LiveActor; |
| 7 | } |
| 8 | class PlayerConst; |
| 9 | class PlayerInput; |
| 10 | class IUsePlayerCollision; |
| 11 | class IPlayerModelChanger; |
| 12 | class PlayerCarryKeeper; |
| 13 | |
| 14 | class PlayerJudgeStartRolling : public IJudge { |
| 15 | public: |
| 16 | PlayerJudgeStartRolling(const al::LiveActor* player, const PlayerConst* pConst, |
| 17 | const PlayerInput* input, const IUsePlayerCollision* collider, |
| 18 | const IPlayerModelChanger* modelChanger, |
| 19 | const PlayerCarryKeeper* carryKeeper); |
| 20 | bool isEnableTriggerRolling() const; |
| 21 | bool judgeCancelHipDrop() const; |
| 22 | bool isTriggerRestartSwing() const; |
| 23 | |
| 24 | void reset() override {} |
| 25 | |
| 26 | void update() override {} |
| 27 | |
| 28 | bool judge() const override; |
| 29 | |
| 30 | private: |
| 31 | const al::LiveActor* mPlayer; |
| 32 | const PlayerConst* mConst; |
| 33 | const PlayerInput* mInput; |
| 34 | const IUsePlayerCollision* mCollider; |
| 35 | const IPlayerModelChanger* mModelChanger; |
| 36 | const PlayerCarryKeeper* mCarryKeeper; |
| 37 | }; |
| 38 | |
| 39 | static_assert(sizeof(PlayerJudgeStartRolling) == 0x38); |
| 40 |