metaforce/Runtime/World/CScriptSpiderBallAttraction...

28 lines
894 B
C++
Raw Permalink Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-09-18 03:02:48 +00:00
#include <string_view>
#include "Runtime/World/CActor.hpp"
#include <zeus/CAABox.hpp>
#include <zeus/CVector3f.hpp>
2017-09-18 03:02:48 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2018-12-08 05:30:43 +00:00
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
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce