|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|