prime/include/MetroidPrime/BodyState/CBSKnockBack.hpp

25 lines
564 B
C++
Raw Normal View History

#ifndef _CBSKNOCKBACK
#define _CBSKNOCKBACK
#include "MetroidPrime/BodyState/CBodyState.hpp"
class CBSKnockBack : public CBodyState {
public:
CBSKnockBack();
~CBSKnockBack();
void Start(CBodyController& bc, CStateManager& mgr);
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr);
void Shutdown(CBodyController&);
bool IsMoving() const;
private:
float x4_curTime;
float x8_rotateSpeed;
float xc_remTime;
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
};
#endif // _CBSKNOCKBACK