prime/include/MetroidPrime/ScriptObjects/CScriptSpiderBallAttraction...

25 lines
944 B
C++
Raw Normal View History

#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;
const CVector3f& GetScale() const { return xe8_scale; }
};
#endif // _CSCRIPTSPIDERBALLATTRACTIONSURFACE