metaforce/Runtime/World/CScriptGrapplePoint.hpp

28 lines
954 B
C++
Raw Normal View History

2016-04-20 21:07:18 +00:00
#ifndef __URDE_CSCRIPTGRAPPLEPOINT_HPP__
#define __URDE_CSCRIPTGRAPPLEPOINT_HPP__
#include "CActor.hpp"
#include "CGrappleParameters.hpp"
namespace urde
{
class CScriptGrapplePoint : public CActor
{
2018-06-21 00:57:57 +00:00
zeus::CAABox xe8_touchBounds;
2016-04-20 21:07:18 +00:00
CGrappleParameters x100_parameters;
public:
2017-11-13 06:19:18 +00:00
CScriptGrapplePoint(TUniqueId uid, std::string_view name, const CEntityInfo& info,
const zeus::CTransform& transform, bool active, const CGrappleParameters& params);
2017-01-15 03:07:01 +00:00
void Accept(IVisitor& visitor);
2018-06-21 00:57:57 +00:00
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
void Think(float, CStateManager&);
void Render(const CStateManager&) const;
std::experimental::optional<zeus::CAABox> GetTouchBounds() const;
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const;
2017-07-23 23:45:04 +00:00
const CGrappleParameters& GetGrappleParameters() const { return x100_parameters; }
2016-04-20 21:07:18 +00:00
};
}
#endif // __URDE_CSCRIPTGRAPPLEPOINT_HPP__