mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 20:12:23 +00:00
30 lines
787 B
C#
30 lines
787 B
C#
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; }
|
|
}
|
|
} |