Waterfall constructor

Waterfall({
  1. required SpriteSheet spriteSheet,
  2. required Size size,
})

Implementation

Waterfall({required SpriteSheet spriteSheet, required Size size})
    : super(
          spriteSheet: spriteSheet,
          size: size,
          count: size.shortestSide > 600 ? 40000 : 20000);