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 07:21:28 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void Think(float dt, CStateManager& mgr);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& mgr);
|
|
|
|
rstl::optional_object< CAABox > GetTouchBounds() const;
|
|
|
|
void Touch(CActor& actor, CStateManager& mgr);
|
2022-10-21 15:13:34 +00:00
|
|
|
const CVector3f& GetScale() const { return xe8_scale; }
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTSPIDERBALLATTRACTIONSURFACE
|