blob: c19a02ef7b984c3f83829c853d977a73fc4fc93f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
using System.Collections.Generic;
using System.Xml.Serialization;
namespace MonoGame.Extended.Tiled.Serialization
{
public class TiledMapTileLayerDataContent
{
public TiledMapTileLayerDataContent()
{
Tiles = new List<TiledMapTileContent>();
}
[XmlAttribute(AttributeName = "encoding")]
public string Encoding { get; set; }
[XmlAttribute(AttributeName = "compression")]
public string Compression { get; set; }
[XmlElement(ElementName = "tile")]
public List<TiledMapTileContent> Tiles { get; set; }
[XmlElement(ElementName = "chunk")]
public List<TiledMapTileLayerDataChunkContent> Chunks { get; set; }
[XmlText]
public string Value { get; set; }
public override string ToString()
{
return $"{Encoding} {Compression}";
}
}
}
|