metaforce/Runtime/World/CScriptSpiderBallAttraction...

27 lines
910 B
C++
Raw Normal View History

2017-09-18 03:02:48 +00:00
#ifndef __URDE_CSCRIPTSPIDERBALLATTRACTIONSURFACE_HPP__
#define __URDE_CSCRIPTSPIDERBALLATTRACTIONSURFACE_HPP__
#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);
rstl::optional_object<zeus::CAABox> GetTouchBounds() const;
void Touch(CActor& actor, CStateManager& mgr);
const zeus::CVector3f& GetScale() const { return xe8_scale; }
};
}
#endif // __URDE_CSCRIPTSPIDERBALLATTRACTIONSURFACE_HPP__