RandomSound constructor

const RandomSound({
  1. required AssetReference sound,
  2. required Point<double> minCoordinates,
  3. required Point<double> maxCoordinates,
  4. required int minInterval,
  5. required int maxInterval,
  6. double minGain = 0.75,
  7. double maxGain = 0.75,
})

Create an instance.

Implementation

const RandomSound({
  required this.sound,
  required this.minCoordinates,
  required this.maxCoordinates,
  required this.minInterval,
  required this.maxInterval,
  this.minGain = 0.75,
  this.maxGain = 0.75,
});