prime/include/MetroidPrime/BodyState/CBSFall.hpp

24 lines
551 B
C++

#ifndef _CBSFALL
#define _CBSFALL
#include "MetroidPrime/BodyState/CBodyState.hpp"
class CBSFall : public CBodyState {
public:
CBSFall();
~CBSFall();
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 // _CBSFALL