mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 04:18:25 +08:00
Linting files
This commit is contained in:
@ -151,13 +151,12 @@ abstract class BodyComponent extends Component {
|
|||||||
renderChain(canvas, points);
|
renderChain(canvas, points);
|
||||||
}
|
}
|
||||||
|
|
||||||
void renderChain(Canvas canvas, List<Offset> points) {
|
void renderChain(Canvas canvas, List<Offset> points) {
|
||||||
final Paint paint = Paint()
|
final Paint paint = Paint()
|
||||||
..color = const Color.fromARGB(255, 255, 255, 255);
|
..color = const Color.fromARGB(255, 255, 255, 255);
|
||||||
final path = Path()..addPolygon(points, true);
|
final path = Path()..addPolygon(points, true);
|
||||||
canvas.drawPath(path, paint);
|
canvas.drawPath(path, paint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void _renderCircle(Canvas canvas, Fixture fixture) {
|
void _renderCircle(Canvas canvas, Fixture fixture) {
|
||||||
final Vector2 center = Vector2.zero();
|
final Vector2 center = Vector2.zero();
|
||||||
|
|||||||
Reference in New Issue
Block a user