refactor: fixed typo

pull/434/head
alestiago 3 years ago
parent 02c738832d
commit 9df5bc5af7

@ -45,7 +45,7 @@ class GameBlocStatusListener extends Component
gameRef gameRef
.descendants() .descendants()
.whereType<Flipper>() .whereType<Flipper>()
.forEach(_removeFliperBehaviors); .forEach(_removeFlipperBehaviors);
gameRef gameRef
.descendants() .descendants()
.whereType<Plunger>() .whereType<Plunger>()
@ -89,7 +89,7 @@ class GameBlocStatusListener extends Component
..add(FlipperKeyControllingBehavior()) ..add(FlipperKeyControllingBehavior())
..moveDown(); ..moveDown();
void _removeFliperBehaviors(Flipper flipper) => flipper void _removeFlipperBehaviors(Flipper flipper) => flipper
.descendants() .descendants()
.whereType<FlipperKeyControllingBehavior>() .whereType<FlipperKeyControllingBehavior>()
.forEach(flipper.remove); .forEach(flipper.remove);

Loading…
Cancel
Save