We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aeef188 + 51ba2a7 commit 1454252Copy full SHA for 1454252
README.md
@@ -63,10 +63,10 @@ class SingleTsxProvider extends TsxProvider {
63
}
64
65
```
66
-And use it in the parseTmx method
+And use it in the parseTmx method. Keep in mind that the first TsxProvider that can provide a source is used!
67
```dart
68
final String tmxBody = /* ... */;
69
- final TiledMap mapTmx = TileMapParser.parseTmx(tmxBody, tsx: CustomTsxProvider());
+ final TiledMap mapTmx = TileMapParser.parseTmx(tmxBody, tsxProviders: [SingleTsxProvider(), MultipleTsxProvider()]);
70
71
72
0 commit comments