2022-10-28 13:37:30 +00:00
|
|
|
#ifndef _CBSGROUNDHIT
|
|
|
|
#define _CBSGROUNDHIT
|
|
|
|
|
|
|
|
#include "MetroidPrime/BodyState/CBodyState.hpp"
|
|
|
|
|
|
|
|
class CBSGroundHit : public CBodyState {
|
|
|
|
public:
|
|
|
|
CBSGroundHit();
|
|
|
|
~CBSGroundHit();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
void Start(CBodyController& bc, CStateManager& mgr) override;
|
|
|
|
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
|
|
|
|
void Shutdown(CBodyController& bc) override;
|
2022-10-28 13:37:30 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
float x4_rotateSpeed;
|
|
|
|
float x8_remTime;
|
|
|
|
pas::EFallState xc_fallState;
|
|
|
|
|
|
|
|
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CBSGROUNDHIT
|