metaforce/Runtime/World/CScriptActor.cpp

21 lines
698 B
C++

#include "CScriptActor.hpp"
#include "TCastTo.hpp"
namespace urde
{
CScriptActor::CScriptActor(TUniqueId uid, const std::string& name, const CEntityInfo& info, const zeus::CTransform& xf,
CModelData&& mData, const zeus::CAABox& aabb, float a, float, const CMaterialList& matList,
const CHealthInfo&, const CDamageVulnerability&, const CActorParameters& actParms, bool,
bool active, u32, float, bool, bool, bool, bool)
: CPhysicsActor(uid, active, name, info, xf, std::move(mData), matList, aabb, SMoverData(a), actParms, 0.3f, 0.1f)
{
}
void CScriptActor::Accept(IVisitor& visitor)
{
visitor.Visit(this);
}
}