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