2016-12-22 02:48:22 +00:00
|
|
|
#include "CRepulsor.hpp"
|
|
|
|
#include "CActorParameters.hpp"
|
2019-09-21 13:07:13 +00:00
|
|
|
#include "TCastTo.hpp" // Generated file, do not modify include path
|
2016-12-22 02:48:22 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2017-11-13 06:19:18 +00:00
|
|
|
CRepulsor::CRepulsor(TUniqueId uid, bool active, std::string_view name, const CEntityInfo& info,
|
2016-12-22 02:48:22 +00:00
|
|
|
const zeus::CVector3f& pos, float radius)
|
|
|
|
: CActor(uid, active, name, info, zeus::CTransform::Translate(pos), CModelData::CModelDataNull(), CMaterialList(),
|
|
|
|
CActorParameters::None(), kInvalidUniqueId)
|
2018-12-08 05:30:43 +00:00
|
|
|
, xe8_affectRadius(radius) {}
|
2016-12-22 02:48:22 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
void CRepulsor::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
2017-01-15 03:07:01 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
void CRepulsor::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) {
|
|
|
|
CActor::AcceptScriptMsg(msg, objId, stateMgr);
|
2016-12-22 02:48:22 +00:00
|
|
|
}
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|