MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / PfxVisual

Method PfxVisual

src/logic/visuals/PfxVisual.cpp:15–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#include <logic/PfxManager.h>
14
15Logic::PfxVisual::PfxVisual(World::WorldInstance& world, Handle::EntityHandle entity)
16 : VisualController(world, entity)
17 , m_TimeSinceLastSpawn(0.0f)
18 , m_ppsScaleKey(0.0f)
19 , m_shpScaleKey(0.0f)
20 , m_spawnPosition(0.0f)
21 , m_dead(false)
22{
23 Components::Actions::initComponent<Components::PfxComponent>(m_World.getComponentAllocator(), entity);
24 Components::Actions::initComponent<Components::BBoxComponent>(m_World.getComponentAllocator(), entity);
25}
26
27Logic::PfxVisual::~PfxVisual()
28{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected