refactor: used renderBody

pull/72/head
alestiago 4 years ago
parent 34e8975e15
commit f6354daae7

@ -28,8 +28,7 @@ class Flipper extends BodyComponent with KeyboardHandler, InitialPosition {
Flipper({ Flipper({
required this.side, required this.side,
}) : _keys = side.isLeft ? _leftFlipperKeys : _rightFlipperKeys { }) : _keys = side.isLeft ? _leftFlipperKeys : _rightFlipperKeys {
// TODO(alestiago): Remove paint with asset and size correctly. renderBody = false;
paint = Paint()..color = Colors.transparent;
} }
/// The size of the [Flipper]. /// The size of the [Flipper].

Loading…
Cancel
Save