prime/include/MetroidPrime/BodyState/CBSGroundHit.hpp
Henrique Gemignani Passos Lima 68b4aca5b9 Add CBSGroundHit
Former-commit-id: b8cdf8d847a4406cf7aceca9c46df052487bb84f
2022-10-28 16:37:30 +03:00

24 lines
577 B
C++

#ifndef _CBSGROUNDHIT
#define _CBSGROUNDHIT
#include "MetroidPrime/BodyState/CBodyState.hpp"
class CBSGroundHit : public CBodyState {
public:
CBSGroundHit();
~CBSGroundHit();
void Start(CBodyController& bc, CStateManager& mgr) override;
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
void Shutdown(CBodyController& bc) override;
private:
float x4_rotateSpeed;
float x8_remTime;
pas::EFallState xc_fallState;
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
};
#endif // _CBSGROUNDHIT