VolcanoCounter constructor

VolcanoCounter({
  1. required int initialCounter,
  2. bool enableSky = false,
  3. bool enableGrass = false,
})

Implementation

VolcanoCounter(
    {required int initialCounter,
    bool enableSky = false,
    bool enableGrass = false}) {
  _counter = initialCounter;
  _enableGrass = enableGrass;
  _enableSky = enableSky;
}