2022-10-31 23:03:15 +00:00
|
|
|
#ifndef _CBSPROJECTILEATTACK
|
|
|
|
#define _CBSPROJECTILEATTACK
|
|
|
|
|
|
|
|
#include "MetroidPrime/BodyState/CBodyState.hpp"
|
|
|
|
|
|
|
|
class CBSProjectileAttack : public CBodyState {
|
|
|
|
public:
|
|
|
|
CBSProjectileAttack();
|
|
|
|
~CBSProjectileAttack();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
bool CanShoot() const override;
|
|
|
|
void Start(CBodyController& bc, CStateManager& mgr) override;
|
|
|
|
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
|
|
|
|
void Shutdown(CBodyController&) override;
|
2022-10-31 23:03:15 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CBSPROJECTILEATTACK
|