diff --git a/lib/game/components/jetpack_ramp.dart b/lib/game/components/jetpack_ramp.dart index 8656c61e..d573cda7 100644 --- a/lib/game/components/jetpack_ramp.dart +++ b/lib/game/components/jetpack_ramp.dart @@ -11,10 +11,10 @@ import 'package:pinball_components/pinball_components.dart'; /// A [Blueprint] which creates the [JetpackRamp]. class Jetpack extends Forge2DBlueprint { - /// Width between walls of the [Pathway]. + /// Width between walls of the pathway. static const width = 5.0; - /// Size for the radius of the external wall [Pathway]. + /// Size for the radius of the external wall pathway. static const externalRadius = 18.0; @override diff --git a/lib/game/components/launcher_ramp.dart b/lib/game/components/launcher_ramp.dart index 8f9f7b19..a8e2d0f5 100644 --- a/lib/game/components/launcher_ramp.dart +++ b/lib/game/components/launcher_ramp.dart @@ -11,10 +11,10 @@ import 'package:pinball_components/pinball_components.dart'; /// A [Blueprint] which creates the launcher ramp. class Launcher extends Forge2DBlueprint { - /// Width between walls of the [Pathway]. + /// Width between walls of the pathway. static const width = 5.0; - /// Size for the radius of the external wall [Pathway]. + /// Size for the radius of the external wall pathway. static const externalRadius = 16.3; @override diff --git a/lib/game/components/ramp_opening.dart b/lib/game/components/ramp_opening.dart index d8ddcc35..ee1ecdea 100644 --- a/lib/game/components/ramp_opening.dart +++ b/lib/game/components/ramp_opening.dart @@ -37,10 +37,10 @@ abstract class RampOpening extends BodyComponent with InitialPosition, Layered { final Layer _pathwayLayer; final Layer _outsideLayer; - /// Mask of category bits for collision inside [Pathway]. + /// Mask of category bits for collision inside pathway. Layer get pathwayLayer => _pathwayLayer; - /// Mask of category bits for collision outside [Pathway]. + /// Mask of category bits for collision outside pathway. Layer get outsideLayer => _outsideLayer; /// The [Shape] of the [RampOpening]. @@ -65,7 +65,7 @@ abstract class RampOpening extends BodyComponent with InitialPosition, Layered { } /// {@template ramp_opening_ball_contact_callback} -/// Detects when a [Ball] enters or exits a [Pathway] ramp through a +/// Detects when a [Ball] enters or exits a pathway ramp through a /// [RampOpening]. /// /// Modifies [Ball]'s [Layer] accordingly depending on whether the [Ball] is