prime/include/MetroidPrime/BodyState/CAdditiveBodyState.hpp

20 lines
583 B
C++
Raw Permalink Normal View History

2022-10-14 08:46:50 +00:00
#ifndef _CADDITIVEBODYSTATE
#define _CADDITIVEBODYSTATE
#include "Kyoto/Animation/CPASAnimState.hpp"
class CBodyController;
class CStateManager;
class CAdditiveBodyState {
public:
virtual ~CAdditiveBodyState() {};
virtual bool ApplyHeadTracking() const; // { return true; }
virtual bool CanShoot() const; // { return true; }
2022-10-14 08:46:50 +00:00
virtual void Start(CBodyController& bc, CStateManager& mgr) = 0;
virtual pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) = 0;
virtual void Shutdown(CBodyController& bc) = 0;
};
#endif // _CADDITIVEBODYSTATE