blob: 49f5ccf3542f73511927c616ad2e7bb0958090e7 (
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
|
using System.Xml.Serialization;
namespace MonoGame.Extended.Tiled.Serialization
{
public class TiledMapTileLayerContent : TiledMapLayerContent
{
public TiledMapTileLayerContent()
: base(TiledMapLayerType.TileLayer)
{
}
[XmlAttribute(AttributeName = "x")]
public int X { get; set; }
[XmlAttribute(AttributeName = "y")]
public int Y { get; set; }
[XmlAttribute(AttributeName = "width")]
public int Width { get; set; }
[XmlAttribute(AttributeName = "height")]
public int Height { get; set; }
[XmlElement(ElementName = "data")]
public TiledMapTileLayerDataContent Data { get; set; }
[XmlIgnore]
public TiledMapTile[] Tiles { get; set; }
}
}
|