metaforce/Runtime/World/CRepulsor.cpp

20 lines
784 B
C++
Raw Normal View History

#include "Runtime/World/CRepulsor.hpp"
#include "Runtime/World/CActorParameters.hpp"
#include "TCastTo.hpp" // Generated file, do not modify include path
2016-12-22 02:48:22 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
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
}
2021-04-10 08:42:06 +00:00
} // namespace metaforce