prime/include/MetroidPrime/BodyState/CBSLieOnGround.hpp

24 lines
591 B
C++
Raw 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();
2023-02-06 17:01:01 +00:00
void Start(CBodyController& bc, CStateManager& mgr) override;
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
void Shutdown(CBodyController& bc) override;
2022-10-28 10:49:33 +00:00
private:
uint x4_24_hasGroundHit : 1;
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
};
#endif // _CBSLIEONGROUND