mirror of https://github.com/PrimeDecomp/prime.git
24 lines
550 B
C++
24 lines
550 B
C++
#ifndef _CBSGROUNDHIT
|
|
#define _CBSGROUNDHIT
|
|
|
|
#include "MetroidPrime/BodyState/CBodyState.hpp"
|
|
|
|
class CBSGroundHit : public CBodyState {
|
|
public:
|
|
CBSGroundHit();
|
|
~CBSGroundHit();
|
|
|
|
void Start(CBodyController& bc, CStateManager& mgr);
|
|
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr);
|
|
void Shutdown(CBodyController& bc);
|
|
|
|
private:
|
|
float x4_rotateSpeed;
|
|
float x8_remTime;
|
|
pas::EFallState xc_fallState;
|
|
|
|
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
|
|
};
|
|
|
|
#endif // _CBSGROUNDHIT
|