mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 12:28:03 +08:00
Adding flame_lint and removing dart code metrics (#1049)
* Adding flame_lint and removing dart code metrics * Update packages/flame_flare/example/pubspec.yaml * updating analyze action * adding missing dardoc dep on flame_lint * removing test folder from the lint package * fixing sdk versions * license and changeog fix * Update packages/flame_lint/README.md Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com> * additional readme fix Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
This commit is contained in:
@ -102,10 +102,12 @@ class BlobSample extends Forge2DGame with TapDetector {
|
||||
..dampingRatio = 1.0
|
||||
..collideConnected = false;
|
||||
|
||||
await Future.wait(List.generate(
|
||||
20,
|
||||
(i) => add(BlobPart(i, jointDef, blobRadius, blobCenter)),
|
||||
));
|
||||
await Future.wait(
|
||||
List.generate(
|
||||
20,
|
||||
(i) => add(BlobPart(i, jointDef, blobRadius, blobCenter)),
|
||||
),
|
||||
);
|
||||
world.createJoint(jointDef);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user