2016-05-13 03:13:34 +00:00
|
|
|
#include "CScriptPickup.hpp"
|
2017-01-15 03:07:01 +00:00
|
|
|
#include "TCastTo.hpp"
|
2016-05-13 03:13:34 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2016-09-01 09:31:18 +00:00
|
|
|
CScriptPickup::CScriptPickup(TUniqueId uid, const std::string& name, const CEntityInfo& info,
|
|
|
|
const zeus::CTransform& xf, CModelData&& mData, const CActorParameters& aParams,
|
|
|
|
const zeus::CAABox& aabb, s32, s32, s32, s32, float, float, float, float, bool active)
|
|
|
|
: CPhysicsActor(uid, active, name, info, xf, std::move(mData), CMaterialList(), aabb, SMoverData(1.f), aParams,
|
|
|
|
0.3f, 0.1f)
|
2016-05-13 03:13:34 +00:00
|
|
|
{
|
|
|
|
}
|
2017-01-15 03:07:01 +00:00
|
|
|
|
|
|
|
void CScriptPickup::Accept(IVisitor& visitor)
|
|
|
|
{
|
|
|
|
visitor.Visit(this);
|
|
|
|
}
|
|
|
|
|
2016-05-13 03:13:34 +00:00
|
|
|
}
|