withLoader static method
Future<TextureAtlas>
withLoader(
- TextureAtlasLoader textureAtlasLoader, [
- TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY
Implementation
static Future<TextureAtlas> withLoader(TextureAtlasLoader textureAtlasLoader,
[TextureAtlasFormat textureAtlasFormat =
TextureAtlasFormat.JSONARRAY]) =>
textureAtlasFormat.load(textureAtlasLoader);