|
|
@ -2,12 +2,12 @@ import 'package:flame_forge2d/flame_forge2d.dart';
|
|
|
|
import 'package:pinball/game/components/components.dart';
|
|
|
|
import 'package:pinball/game/components/components.dart';
|
|
|
|
import 'package:pinball_components/pinball_components.dart' hide Assets;
|
|
|
|
import 'package:pinball_components/pinball_components.dart' hide Assets;
|
|
|
|
|
|
|
|
|
|
|
|
/// {@template plunger_zone}
|
|
|
|
/// {@template launcher}
|
|
|
|
/// A [Blueprint] which groups the [Plunger], [RocketSpriteComponent] and
|
|
|
|
/// A [Blueprint] which creates the [Plunger], [RocketSpriteComponent] and
|
|
|
|
/// [LaunchRamp].
|
|
|
|
/// [LaunchRamp].
|
|
|
|
/// {@endtemplate}
|
|
|
|
/// {@endtemplate}
|
|
|
|
class Launcher extends Forge2DBlueprint {
|
|
|
|
class Launcher extends Forge2DBlueprint {
|
|
|
|
/// {@macro plunger_zone}
|
|
|
|
/// {@macro launcher}
|
|
|
|
Launcher();
|
|
|
|
Launcher();
|
|
|
|
|
|
|
|
|
|
|
|
/// [Plunger] to launch the [Ball] onto the board.
|
|
|
|
/// [Plunger] to launch the [Ball] onto the board.
|
|
|
|