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

Method pullNewParticles

source/game/StarTechController.cpp:329–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329List<Particle> TechController::pullNewParticles() {
330 List<Particle> newParticles;
331
332 for (auto const& animator : m_techAnimators.netElements()) {
333 if (animator->isVisible())
334 newParticles.appendAll(animator->dynamicTarget.pullNewParticles());
335 else
336 animator->dynamicTarget.pullNewParticles();
337 }
338
339 return newParticles;
340}
341
342Maybe<Json> TechController::receiveMessage(String const& message, bool localMessage, JsonArray const& args) {
343 for (auto& module : m_techModules) {

Callers

nothing calls this directly

Calls 3

netElementsMethod · 0.80
isVisibleMethod · 0.80
appendAllMethod · 0.80

Tested by

no test coverage detected