refactor: removed RenderPriority from FlutterForest

pull/282/head
alestiago 3 years ago
parent bd106f4dbd
commit 09d020fc30

@ -14,7 +14,6 @@ class FlutterForest extends Component {
/// {@macro flutter_forest} /// {@macro flutter_forest}
FlutterForest() FlutterForest()
: super( : super(
priority: RenderPriority.flutterForest,
children: [ children: [
Signpost( Signpost(
children: [ children: [

@ -52,8 +52,8 @@ class PinballGame extends Forge2DGame
final launcher = Launcher(); final launcher = Launcher();
await add(launcher); await add(launcher);
await add(FlutterForest()..priority = 1);
await add(Multipliers()); await add(Multipliers());
await add(FlutterForest());
await addFromBlueprint(SparkyScorch()); await addFromBlueprint(SparkyScorch());
await addFromBlueprint(AndroidAcres()); await addFromBlueprint(AndroidAcres());
await addFromBlueprint(DinoDesert()); await addFromBlueprint(DinoDesert());

Loading…
Cancel
Save