2016-05-18 03:57:43 +00:00
|
|
|
#include "CBeetle.hpp"
|
|
|
|
#include "World/CDamageInfo.hpp"
|
2016-08-23 03:12:50 +00:00
|
|
|
#include "Character/CCharLayoutInfo.hpp"
|
2017-01-15 03:07:01 +00:00
|
|
|
#include "TCastTo.hpp"
|
2016-05-18 03:57:43 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
namespace MP1
|
|
|
|
{
|
|
|
|
|
|
|
|
CBeetle::CBeetle(TUniqueId uid, const std::string& name, const CEntityInfo& info, const zeus::CTransform& xf, CModelData&& mData,
|
|
|
|
const CPatternedInfo& pInfo, CPatterned::EFlavorType flavor, CBeetle::EEntranceType, const CDamageInfo&,
|
|
|
|
const CDamageVulnerability&, const zeus::CVector3f&, float, float, float, const CDamageVulnerability&,
|
|
|
|
const CActorParameters& aParams, const rstl::optional_object<CStaticRes>)
|
|
|
|
: CPatterned(EUnknown::Three, uid, name, flavor, info, xf, std::move(mData), pInfo, EMovementType::Ground,
|
|
|
|
EColliderType::One, EBodyType::One, aParams, bool(flavor))
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-01-18 22:30:02 +00:00
|
|
|
void CBeetle::Accept(IVisitor &visitor)
|
|
|
|
{
|
|
|
|
visitor.Visit(this);
|
|
|
|
}
|
|
|
|
|
2016-05-18 03:57:43 +00:00
|
|
|
}
|
|
|
|
}
|