static Dictionary <string, byte[]> LoadMapData(ObjParser parser, Dictionary <string, MapHeader> headers) { var ret = new Dictionary <string, byte[]>(); foreach (var header in headers.Values) { ret[header.MapData] = parser.CopySymbolData(header.MapData, header.Width * header.Height); } return(ret); }