metaforce/Runtime/World/CScriptSpiderBallAttraction...

25 lines
759 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"
namespace urde
{
class CScriptSpiderBallAttractionSurface : public CActor
{
zeus::CVector3f xe8_scale;
zeus::CAABox xf4_aabb;
public:
2017-11-13 06:19:18 +00:00
CScriptSpiderBallAttractionSurface(TUniqueId uid, std::string_view name, const CEntityInfo& info,
2017-09-18 03:02:48 +00:00
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;
2017-09-18 03:02:48 +00:00
void Touch(CActor& actor, CStateManager& mgr);
const zeus::CVector3f& GetScale() const { return xe8_scale; }
};
}