2022-11-21 23:25:57 +00:00
|
|
|
#ifndef _CBSLOOPREACTION
|
|
|
|
#define _CBSLOOPREACTION
|
|
|
|
|
|
|
|
#include "MetroidPrime/BodyState/CBodyState.hpp"
|
|
|
|
|
|
|
|
class CBSLoopReaction : public CBodyState {
|
|
|
|
public:
|
|
|
|
CBSLoopReaction();
|
|
|
|
|
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&) {}
|
2022-11-21 23:25:57 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
pas::ELoopState x4_state;
|
|
|
|
pas::EReactionType x8_reactionType;
|
|
|
|
bool xc_24_loopHit : 1;
|
|
|
|
|
|
|
|
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
|
|
|
|
bool PlayExitAnimation(CBodyController& bc, CStateManager& mgr) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CBSLOOPREACTION
|