| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <math/seadVector.h> |
| 4 | |
| 5 | #include "Library/Nerve/NerveStateBase.h" |
| 6 | |
| 7 | class PlayerConst; |
| 8 | class PlayerInput; |
| 9 | class IUsePlayerCollision; |
| 10 | class PlayerTrigger; |
| 11 | class PlayerAnimator; |
| 12 | class PlayerActionDiveInWater; |
| 13 | class PlayerActionAirMoveControl; |
| 14 | |
| 15 | class PlayerStateNormalWallJump : public al::ActorStateBase { |
| 16 | public: |
| 17 | PlayerStateNormalWallJump(al::LiveActor*, const PlayerConst*, const PlayerInput*, |
| 18 | const IUsePlayerCollision*, const PlayerTrigger*, PlayerAnimator*, |
| 19 | PlayerActionDiveInWater*); |
| 20 | |
| 21 | void appear() override; |
| 22 | void exeJump(); |
| 23 | |
| 24 | const sead::Vector3f& getFront() const { return mFront; } |
| 25 | |
| 26 | private: |
| 27 | const PlayerConst* mConst; |
| 28 | const PlayerInput* mInput; |
| 29 | const IUsePlayerCollision* mCollider; |
| 30 | const PlayerTrigger* mTrigger; |
| 31 | PlayerAnimator* mAnimator; |
| 32 | PlayerActionDiveInWater* mActionDiveInWater; |
| 33 | PlayerActionAirMoveControl* mAirMoveControl = nullptr; |
| 34 | const char* mAnimationName = "WallJump"; |
| 35 | sead::Vector3f mFront; |
| 36 | bool _6c = false; |
| 37 | }; |
| 38 |