metaforce/Runtime/Weapon/CWeapon.cpp

22 lines
623 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
{
CWeapon::CWeapon(TUniqueId uid, TAreaId aid, bool active, TUniqueId, EWeaponType, const std::string& name,
const zeus::CTransform& xf, const CMaterialFilter&, const CMaterialList& mList, const CDamageInfo&,
EProjectileAttrib, CModelData&& mData)
: CActor(uid, active, name, CEntityInfo(aid, CEntity::NullConnectionList), xf, std::move(mData), mList,
CActorParameters::None(), kInvalidUniqueId)
{
}
2017-01-15 03:59:37 +00:00
void CWeapon::Accept(urde::IVisitor& visitor)
{
visitor.Visit(this);
}
}