mirror of https://github.com/flutter/pinball.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
638 B
22 lines
638 B
import 'package:flame/components.dart';
|
|
import 'package:pinball/game/game.dart';
|
|
import 'package:pinball_components/pinball_components.dart';
|
|
|
|
/// {@template dino_desert}
|
|
/// Area located next to the [Launcher] containing the [ChromeDino] and
|
|
/// [DinoWalls].
|
|
/// {@endtemplate}
|
|
// TODO(allisonryan0002): use a controller to initiate dino bonus when dino is
|
|
// fully implemented.
|
|
class DinoDesert extends Component {
|
|
/// {@macro dino_desert}
|
|
DinoDesert()
|
|
: super(
|
|
children: [
|
|
ChromeDino()..initialPosition = Vector2(12.3, -6.9),
|
|
DinoWalls(),
|
|
Slingshots(),
|
|
],
|
|
);
|
|
}
|