mirror of https://github.com/AxioDL/metaforce.git
19 lines
594 B
C++
19 lines
594 B
C++
|
#include "CRepulsor.hpp"
|
||
|
#include "CActorParameters.hpp"
|
||
|
|
||
|
namespace urde
|
||
|
{
|
||
|
CRepulsor::CRepulsor(TUniqueId uid, bool active, const std::string& 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::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr)
|
||
|
{
|
||
|
CActor::AcceptScriptMsg(msg, objId, stateMgr);
|
||
|
}
|
||
|
}
|