metaforce/Runtime/World/CScriptSpiderBallAttraction...

23 lines
788 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-09-18 03:02:48 +00:00
#include "CActor.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
class CScriptSpiderBallAttractionSurface : public CActor {
zeus::CVector3f xe8_scale;
zeus::CAABox xf4_aabb;
2017-09-18 03:02:48 +00:00
public:
2018-12-08 05:30:43 +00:00
CScriptSpiderBallAttractionSurface(TUniqueId uid, std::string_view name, const CEntityInfo& info,
const zeus::CTransform& xf, const zeus::CVector3f& scale, bool active);
void Accept(IVisitor& visitor) override;
void Think(float dt, CStateManager& mgr) override;
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& mgr) override;
std::optional<zeus::CAABox> GetTouchBounds() const override;
void Touch(CActor& actor, CStateManager& mgr) override;
2018-12-08 05:30:43 +00:00
const zeus::CVector3f& GetScale() const { return xe8_scale; }
2017-09-18 03:02:48 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde