MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / pullNewAudios

Method pullNewAudios

source/game/StarTechController.cpp:316–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316List<AudioInstancePtr> TechController::pullNewAudios() {
317 List<AudioInstancePtr> newAudios;
318
319 for (auto const& animator : m_techAnimators.netElements()) {
320 if (animator->isVisible())
321 newAudios.appendAll(animator->dynamicTarget.pullNewAudios());
322 else
323 animator->dynamicTarget.pullNewAudios();
324 }
325
326 return newAudios;
327}
328
329List<Particle> TechController::pullNewParticles() {
330 List<Particle> newParticles;

Callers 9

renderMethod · 0.45
destroyMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
destroyMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45

Calls 3

netElementsMethod · 0.80
isVisibleMethod · 0.80
appendAllMethod · 0.80

Tested by

no test coverage detected