refactor: removed redundant arguements

pull/89/head
alestiago 4 years ago
parent f2d3c653d1
commit 2a658520e0

@ -102,8 +102,7 @@ class BigDashNestBumper extends DashNestBumper {
final bodyDef = BodyDef()
..position = initialPosition
..userData = this
..type = BodyType.static;
..userData = this;
return world.createBody(bodyDef)..createFixture(fixtureDef);
}
@ -125,8 +124,7 @@ class SmallDashNestBumper extends DashNestBumper {
final bodyDef = BodyDef()
..position = initialPosition
..userData = this
..type = BodyType.static;
..userData = this;
return world.createBody(bodyDef)..createFixture(fixtureDef);
}

Loading…
Cancel
Save