prime/include/MetroidPrime/BodyState/CBSLieOnGround.hpp

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

2022-10-28 10:49:33 +00:00
#ifndef _CBSLIEONGROUND
#define _CBSLIEONGROUND
#include "MetroidPrime/BodyState/CBodyState.hpp"
class CActor;
class CBSLieOnGround : public CBodyState {
public:
explicit CBSLieOnGround(const CActor& actor);
~CBSLieOnGround();
void Start(CBodyController& bc, CStateManager& mgr) override;
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
void Shutdown(CBodyController& bc) override;
private:
uint x4_24_hasGroundHit : 1;
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
};
#endif // _CBSLIEONGROUND