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);
|
|
|
|
void Think(float dt, CStateManager& mgr);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& mgr);
|
|
|
|
std::experimental::optional<zeus::CAABox> GetTouchBounds() const;
|
|
|
|
void Touch(CActor& actor, CStateManager& mgr);
|
|
|
|
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
|