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

Loading…
Cancel
Save