readMap method
Implementation
@override
Future<SpritefusionMap> readMap() async {
String data = await rootBundle.loadString(_path);
return SpritefusionMap.fromJson(data)
..imgPath = '${basePath}spritesheet.png';
}
@override
Future<SpritefusionMap> readMap() async {
String data = await rootBundle.loadString(_path);
return SpritefusionMap.fromJson(data)
..imgPath = '${basePath}spritesheet.png';
}