diff --git a/lib/game/components/ball.dart b/lib/game/components/ball.dart index def21929..f47f7b48 100644 --- a/lib/game/components/ball.dart +++ b/lib/game/components/ball.dart @@ -7,7 +7,8 @@ import 'package:pinball/gen/assets.gen.dart'; /// A solid, [BodyType.dynamic] sphere that rolls and bounces along the /// [PinballGame]. /// {@endtemplate} -class Ball extends BodyComponent with InitialPosition, Layered { +class Ball extends BodyComponent + with InitialPosition, Layered, Elevated { /// {@macro ball} Ball() { // TODO(ruimiguel): while developing Ball can be launched by clicking mouse,