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() {};
|
2022-10-14 13:36:01 +00:00
|
|
|
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
|