From d23c7a0eb2955930def75d804efe84b8297d402a Mon Sep 17 00:00:00 2001 From: Erick Zanardo Date: Tue, 29 Mar 2022 15:14:33 -0300 Subject: [PATCH] feat: pr suggestions --- .../pinball_components/lib/src/components/spaceship.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/pinball_components/lib/src/components/spaceship.dart b/packages/pinball_components/lib/src/components/spaceship.dart index 8f2b25b4..8c6288c7 100644 --- a/packages/pinball_components/lib/src/components/spaceship.dart +++ b/packages/pinball_components/lib/src/components/spaceship.dart @@ -197,9 +197,9 @@ class SpaceshipHole extends BodyComponent with InitialPosition, Layered { /// {@template spaceship_wall_shape} /// The [ChainShape] that defines the shape of the [SpaceshipWall]. /// {@endtemplate} -class SpaceshipWallShape extends ChainShape { +class _SpaceshipWallShape extends ChainShape { /// {@macro spaceship_wall_shape} - SpaceshipWallShape() { + _SpaceshipWallShape() { final minorRadius = (Spaceship.size.y - 2) / 2; final majorRadius = (Spaceship.size.x - 2) / 2; @@ -232,7 +232,7 @@ class SpaceshipWall extends BodyComponent with InitialPosition, Layered { Body createBody() { renderBody = false; - final wallShape = SpaceshipWallShape(); + final wallShape = _SpaceshipWallShape(); final bodyDef = BodyDef() ..userData = this