|
|
@ -12,11 +12,14 @@ class Board extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Future<void> onLoad() async {
|
|
|
|
Future<void> onLoad() async {
|
|
|
|
|
|
|
|
// TODO(allisonryan0002): add bottom group and flutter forest to pinball
|
|
|
|
|
|
|
|
//game directly. Then remove board.
|
|
|
|
final bottomGroup = _BottomGroup();
|
|
|
|
final bottomGroup = _BottomGroup();
|
|
|
|
|
|
|
|
|
|
|
|
final flutterForest = FlutterForest();
|
|
|
|
final flutterForest = FlutterForest();
|
|
|
|
|
|
|
|
|
|
|
|
// TODO(alestiago): adjust positioning to real design.
|
|
|
|
// TODO(alestiago): adjust positioning to real design.
|
|
|
|
|
|
|
|
// TODO(alestiago): add dino in pinball game.
|
|
|
|
final dino = ChromeDino()
|
|
|
|
final dino = ChromeDino()
|
|
|
|
..initialPosition = Vector2(
|
|
|
|
..initialPosition = Vector2(
|
|
|
|
BoardDimensions.bounds.center.dx + 25,
|
|
|
|
BoardDimensions.bounds.center.dx + 25,
|
|
|
|