metaforce/Runtime/World/CScriptActor.cpp

21 lines
698 B
C++
Raw Normal View History

2016-04-19 00:17:49 +00:00
#include "CScriptActor.hpp"
2017-01-15 03:07:01 +00:00
#include "TCastTo.hpp"
2016-04-19 00:17:49 +00:00
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)
2016-04-19 00:17:49 +00:00
{
}
2017-01-15 03:07:01 +00:00
void CScriptActor::Accept(IVisitor& visitor)
{
visitor.Visit(this);
}
2016-04-19 00:17:49 +00:00
}