TileModelSprite.fromMap constructor
Implementation
factory TileModelSprite.fromMap(Map<String, dynamic> map) {
return TileModelSprite(
path: map['path'],
position: Vector2(map['column'], map['row']),
size: Vector2(map['width'], map['height']),
);
}