feat: pr suggestion

pull/70/head
Erick Zanardo 4 years ago
parent a9122c8bb9
commit ca7e257122

@ -151,9 +151,7 @@ class Pathway extends BodyComponent with InitialPosition, Layered {
for (final path in _paths) { for (final path in _paths) {
final chain = ChainShape() final chain = ChainShape()
..createChain( ..createChain(path);
path.toList(),
);
fixturesDef.add(FixtureDef(chain)); fixturesDef.add(FixtureDef(chain));
} }

Loading…
Cancel
Save