Esempio n. 1
0
 public static void WriteTiledMap(ContentWriter writer, TiledMapContent map)
 {
     writer.Write(map.Width);
     writer.Write(map.Height);
     writer.Write(map.Tilewidth);
     writer.Write(map.Tileheight);
     writer.Write(map.TileSets.Count);
     foreach (TiledMapTileSetContent tileSet in map.TileSets)
     {
         WriteTiledMapTiledSet(writer, tileSet);
     }
     writer.Write(map.MapLayers.Count);
     foreach (TiledMapLayerContent mapLayer in map.MapLayers)
     {
         WriteTiledMapLayer(writer, mapLayer);
     }
 }
Esempio n. 2
0
 public TiledMapProcessorResult(TiledMapContent map, ContentBuildLogger logger)
 {
     Map    = map;
     Logger = logger;
 }