mirror of https://github.com/AxioDL/metaforce.git
24 lines
825 B
C++
24 lines
825 B
C++
#pragma once
|
|
|
|
#include "CActor.hpp"
|
|
#include "CGrappleParameters.hpp"
|
|
|
|
namespace urde {
|
|
class CScriptGrapplePoint : public CActor {
|
|
zeus::CAABox xe8_touchBounds;
|
|
CGrappleParameters x100_parameters;
|
|
|
|
public:
|
|
CScriptGrapplePoint(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& transform,
|
|
bool active, const CGrappleParameters& params);
|
|
|
|
void Accept(IVisitor& visitor);
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
|
void Think(float, CStateManager&);
|
|
void Render(const CStateManager&) const;
|
|
rstl::optional<zeus::CAABox> GetTouchBounds() const;
|
|
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const;
|
|
const CGrappleParameters& GetGrappleParameters() const { return x100_parameters; }
|
|
};
|
|
} // namespace urde
|