| 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 | |
| 11 | class IPlayerModelChanger; |
| 12 | class PlayerHackKeeper; |
| 13 | class PlayerCarryKeeper; |
| 14 | class IUsePlayerCollision; |
| 15 | class PlayerInput; |
| 16 | class PlayerConst; |
| 17 | class PlayerStateWait; |
| 18 | |
| 19 | class PlayerJudgeTalkGround : public IJudge, public al::HioNode { |
| 20 | public: |
| 21 | PlayerJudgeTalkGround(const al::LiveActor* playerActor, |
| 22 | const IPlayerModelChanger* playerModelChanger, |
| 23 | const PlayerHackKeeper* playerHackKeeper, |
| 24 | const PlayerCarryKeeper* playerCarryKeeper, |
| 25 | const IUsePlayerCollision* playerCollider, const PlayerInput* playerInput, |
| 26 | const PlayerConst* playerConst, const PlayerStateWait* playerStateWait); |
| 27 | |
| 28 | void reset() override {} |
| 29 | |
| 30 | void update() override {} |
| 31 | |
| 32 | bool judge() const override; |
| 33 | |
| 34 | private: |
| 35 | const al::LiveActor* mPlayerActor; |
| 36 | const IPlayerModelChanger* mPlayerModelChanger; |
| 37 | const PlayerHackKeeper* mPlayerHackKeeper; |
| 38 | const PlayerCarryKeeper* mPlayerCarryKeeper; |
| 39 | const IUsePlayerCollision* mCollider; |
| 40 | const PlayerInput* mPlayerInput; |
| 41 | const PlayerConst* mPlayerConst; |
| 42 | const PlayerStateWait* mPlayerStateWait; |
| 43 | }; |
| 44 |