mirror of https://github.com/AxioDL/metaforce.git
23 lines
744 B
C++
23 lines
744 B
C++
#pragma once
|
|
|
|
#include "CActor.hpp"
|
|
|
|
namespace urde {
|
|
|
|
class CScriptSpiderBallAttractionSurface : public CActor {
|
|
zeus::CVector3f xe8_scale;
|
|
zeus::CAABox xf4_aabb;
|
|
|
|
public:
|
|
CScriptSpiderBallAttractionSurface(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
|
const zeus::CTransform& xf, const zeus::CVector3f& scale, bool active);
|
|
void Accept(IVisitor& visitor);
|
|
void Think(float dt, CStateManager& mgr);
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& mgr);
|
|
rstl::optional<zeus::CAABox> GetTouchBounds() const;
|
|
void Touch(CActor& actor, CStateManager& mgr);
|
|
const zeus::CVector3f& GetScale() const { return xe8_scale; }
|
|
};
|
|
|
|
} // namespace urde
|