From 2a658520e0606fa14f3af4d6c320a8dee482f89e Mon Sep 17 00:00:00 2001 From: alestiago Date: Thu, 24 Mar 2022 16:13:01 +0000 Subject: [PATCH] refactor: removed redundant arguements --- lib/game/components/flutter_forest.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/game/components/flutter_forest.dart b/lib/game/components/flutter_forest.dart index 9e7dd472..51dcd90a 100644 --- a/lib/game/components/flutter_forest.dart +++ b/lib/game/components/flutter_forest.dart @@ -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); }