2022-10-21 15:13:34 +00:00
|
|
|
#ifndef _CSCRIPTSPIDERBALLATTRACTIONSURFACE
|
|
|
|
#define _CSCRIPTSPIDERBALLATTRACTIONSURFACE
|
|
|
|
|
|
|
|
#include "MetroidPrime/CActor.hpp"
|
|
|
|
|
|
|
|
class CScriptSpiderBallAttractionSurface : public CActor {
|
|
|
|
CVector3f xe8_scale;
|
|
|
|
CAABox xf4_aabb;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CScriptSpiderBallAttractionSurface(TUniqueId uid, const rstl::string& name,
|
|
|
|
const CEntityInfo& info, const CTransform4f& xf,
|
|
|
|
const CVector3f& scale, bool active);
|
|
|
|
~CScriptSpiderBallAttractionSurface();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
void Accept(IVisitor& visitor) override;
|
|
|
|
void Think(float dt, CStateManager& mgr) override;
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& mgr) override;
|
|
|
|
rstl::optional_object< CAABox > GetTouchBounds() const override;
|
|
|
|
void Touch(CActor& actor, CStateManager& mgr) override;
|
2022-10-21 15:13:34 +00:00
|
|
|
const CVector3f& GetScale() const { return xe8_scale; }
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTSPIDERBALLATTRACTIONSURFACE
|