metaforce/Runtime/Weapon/CWeapon.cpp

23 lines
662 B
C++
Raw Normal View History

#include "CWeapon.hpp"
#include "World/CActorParameters.hpp"
2017-01-15 03:59:37 +00:00
#include "TCastTo.hpp"
namespace urde
{
2017-09-05 03:00:19 +00:00
CWeapon::CWeapon(TUniqueId uid, TAreaId aid, bool active, TUniqueId owner, EWeaponType type,
2017-11-13 06:19:18 +00:00
std::string_view name, const zeus::CTransform& xf, const CMaterialFilter& filter,
2017-09-05 03:00:19 +00:00
const CMaterialList& mList, const CDamageInfo&, EProjectileAttrib attribs, CModelData&& mData)
: CActor(uid, active, name, CEntityInfo(aid, CEntity::NullConnectionList), xf, std::move(mData), mList,
CActorParameters::None(), kInvalidUniqueId)
, xf8_(filter)
{
}
2017-01-15 03:59:37 +00:00
void CWeapon::Accept(urde::IVisitor& visitor)
{
visitor.Visit(this);
}
}