mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-20 18:59:12 +00:00
Re-organize MP1 specific world objects
This commit is contained in:
27
Runtime/MP1/World/CBeetle.cpp
Normal file
27
Runtime/MP1/World/CBeetle.cpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#include "CBeetle.hpp"
|
||||
#include "World/CDamageInfo.hpp"
|
||||
#include "Character/CCharLayoutInfo.hpp"
|
||||
#include "TCastTo.hpp"
|
||||
|
||||
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))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CBeetle::Accept(IVisitor &visitor)
|
||||
{
|
||||
visitor.Visit(this);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user