summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/source/MonoGame.Extended.Tiled/Serialization/TiledMapTileLayerDataChunkContent.cs
blob: 0ec10d9933562a76d168641175cc490aaf43be30 (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
using System.Collections.Generic;
using System.Xml.Serialization;

namespace MonoGame.Extended.Tiled.Serialization
{
	public class TiledMapTileLayerDataChunkContent
	{
		[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 = "tile")]
		public List<TiledMapTileContent> Tiles { get; set; }

		[XmlText]
		public string Value { get; set; }
	}
}