refactor classes in game.dart to separate files

This commit is contained in:
Erlend Fagerheim
2020-04-20 21:02:50 +02:00
parent 2d9c525fdb
commit 2bc4b7ad9d
17 changed files with 385 additions and 381 deletions

View File

@ -217,7 +217,7 @@ class MyGame extends BaseGame {
return Particle.generate(
count: 5,
generator: (i) => MovingParticle(
curve: Interval(.2, .6, curve: Curves.easeInOutCubic),
curve: const Interval(.2, .6, curve: Curves.easeInOutCubic),
to: randomCellOffset() * .5,
child: CircleParticle(
radius: 5 + rnd.nextDouble() * 5,