update method

void update(
  1. double dt
)

Implementation

void update(double dt) {
  layers.forEach((layer) {
    layer.update(
      _delta
        ..setFrom(baseVelocity)
        ..multiply(layer.velocityMultiplier)
        ..scale(dt),
      dt,
    );
  });
}