2016-12-22 19:57:21 +00:00
|
|
|
#include "CPlasmaProjectile.hpp"
|
2017-01-15 03:07:01 +00:00
|
|
|
#include "TCastTo.hpp"
|
2016-12-22 19:57:21 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
CPlasmaProjectile::CPlasmaProjectile(const TToken<CWeaponDescription>& wDesc, const std::string& name,
|
|
|
|
EWeaponType wType, const CBeamInfo& bInfo, const zeus::CTransform& xf,
|
|
|
|
EMaterialTypes matType, const CDamageInfo& dInfo, TUniqueId owner, TAreaId aid,
|
|
|
|
TUniqueId uid, u32 w1, bool b1, u32 w2)
|
|
|
|
: CBeamProjectile(wDesc, name, wType, xf, bInfo.x18_, bInfo.x1c_, bInfo.x38_, matType, dInfo, owner, aid, uid, w2, b1)
|
|
|
|
{
|
|
|
|
}
|
2017-01-15 03:07:01 +00:00
|
|
|
|
|
|
|
void CPlasmaProjectile::Accept(IVisitor& visitor)
|
|
|
|
{
|
|
|
|
visitor.Visit(this);
|
|
|
|
}
|
|
|
|
|
2016-12-22 19:57:21 +00:00
|
|
|
}
|