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

Method createSound

src/components/VobClasses.cpp:96–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96Handle::EntityHandle VobTypes::createSound(World::WorldInstance& world)
97{
98 Handle::EntityHandle e = Vob::constructVob(world);
99
100 // Setup controller
101 Components::LogicComponent& logic = world.getEntity<Components::LogicComponent>(e);
102 logic.m_pLogicController = new Logic::SoundController(world, e);
103
104 return e;
105}
106
107
108Handle::EntityHandle VobTypes::createMusic(World::WorldInstance& world) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected