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({
required this.side,
}) : _keys = side.isLeft ? _leftFlipperKeys : _rightFlipperKeys {
// TODO(alestiago): Remove paint with asset and size correctly.
paint = Paint()..color = Colors.transparent;
renderBody = false;
}
/// The size of the [Flipper].

Loading…
Cancel
Save