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
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace urde::MP1
|
2016-05-18 03:57:43 +00:00
|
|
|
{
|
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
CBeetle::CBeetle(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf, CModelData&& mData,
|
2016-05-18 03:57:43 +00:00
|
|
|
const CPatternedInfo& pInfo, CPatterned::EFlavorType flavor, CBeetle::EEntranceType, const CDamageInfo&,
|
|
|
|
const CDamageVulnerability&, const zeus::CVector3f&, float, float, float, const CDamageVulnerability&,
|
2018-04-30 03:12:41 +00:00
|
|
|
const CActorParameters& aParams, const std::experimental::optional<CStaticRes>)
|
2017-06-12 04:23:34 +00:00
|
|
|
: CPatterned(ECharacter::Beetle, uid, name, flavor, info, xf, std::move(mData), pInfo, EMovementType::Ground,
|
2017-07-10 04:55:51 +00:00
|
|
|
EColliderType::One, EBodyType::BiPedal, aParams, bool(flavor))
|
2016-05-18 03:57:43 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-01-18 22:30:02 +00:00
|
|
|
void CBeetle::Accept(IVisitor &visitor)
|
|
|
|
{
|
|
|
|
visitor.Visit(this);
|
|
|
|
}
|
|
|
|
|
2016-05-18 03:57:43 +00:00
|
|
|
}
|