addLayer method

void addLayer(
  1. ParticleLayer<Particle> layer
)

Add a layer

Implementation

void addLayer(ParticleLayer layer) => _layers.add(layer);