prime/include/MetroidPrime/BodyState/CBSSlide.hpp

24 lines
581 B
C++
Raw Permalink Normal View History

2022-10-24 23:29:11 +00:00
#ifndef _CBSSLIDE
#define _CBSSLIDE
#include "MetroidPrime/BodyState/CBodyState.hpp"
class CBSSlide : public CBodyState {
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
public:
CBSSlide();
~CBSSlide();
bool ApplyHeadTracking() const override;
bool IsMoving() const override;
void Start(CBodyController& bc, CStateManager& mgr) override;
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
void Shutdown(CBodyController&) override;
private:
float x4_rotateSpeed;
};
#endif // _CBSSLIDE