mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-26 00:45:20 +00:00
26 lines
622 B
C#
26 lines
622 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace MonoGame.Extended.Content.Pipeline.Tiled
|
|
{
|
|
public class TmxTileLayer : TmxLayer
|
|
{
|
|
public TmxTileLayer()
|
|
{
|
|
}
|
|
|
|
[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 TmxData Data { get; set; }
|
|
}
|
|
} |