refactor: changed ball with Elevated

pull/83/head
RuiAlonso 4 years ago
parent b47b815b53
commit ff57b010b1

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

Loading…
Cancel
Save