From 4621f871bb35ba616dd5fb36fe7d0c48b123175a Mon Sep 17 00:00:00 2001 From: alestiago Date: Tue, 15 Mar 2022 09:17:11 +0000 Subject: [PATCH] refactor: renamed bumper to baseboard --- lib/game/components/board.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/game/components/board.dart b/lib/game/components/board.dart index e8ec6f03..d7ca88dc 100644 --- a/lib/game/components/board.dart +++ b/lib/game/components/board.dart @@ -61,9 +61,7 @@ class _BottomGroupSide extends Component { side: _side, position: _position, ); - await add(flipper); - - final bumper = Baseboard( + final baseboard = Baseboard( side: _side, position: _position + Vector2( @@ -71,6 +69,7 @@ class _BottomGroupSide extends Component { Flipper.height, ), ); - await add(bumper); + + await addAll([flipper, baseboard]); } }