mirror of https://github.com/AxioDL/metaforce.git
18 lines
698 B
C++
18 lines
698 B
C++
#include "CRepulsor.hpp"
|
|
#include "CActorParameters.hpp"
|
|
#include "TCastTo.hpp"
|
|
|
|
namespace urde {
|
|
CRepulsor::CRepulsor(TUniqueId uid, bool active, std::string_view name, const CEntityInfo& info,
|
|
const zeus::CVector3f& pos, float radius)
|
|
: CActor(uid, active, name, info, zeus::CTransform::Translate(pos), CModelData::CModelDataNull(), CMaterialList(),
|
|
CActorParameters::None(), kInvalidUniqueId)
|
|
, xe8_affectRadius(radius) {}
|
|
|
|
void CRepulsor::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
|
|
|
void CRepulsor::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) {
|
|
CActor::AcceptScriptMsg(msg, objId, stateMgr);
|
|
}
|
|
} // namespace urde
|