| 327 | } |
| 328 | |
| 329 | List<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 | |
| 342 | Maybe<Json> TechController::receiveMessage(String const& message, bool localMessage, JsonArray const& args) { |
| 343 | for (auto& module : m_techModules) { |
nothing calls this directly
no test coverage detected