Files
MonoGame.Extended/Source/MonoGame.Extended.Content.Pipeline/Tiled/TiledMapImageContent.cs
T

30 lines
799 B
C#

using System.Xml.Serialization;
namespace MonoGame.Extended.Content.Pipeline.Tiled
{
public class TiledMapImageContent
{
[XmlAttribute(AttributeName = "source")]
public string Source { get; set; }
[XmlAttribute(AttributeName = "width")]
public int Width { get; set; }
[XmlAttribute(AttributeName = "height")]
public int Height { get; set; }
[XmlAttribute(AttributeName = "format")]
public string Format { get; set; }
[XmlAttribute(AttributeName = "trans")]
public string TransparentColor { get; set; }
[XmlElement(ElementName = "data")]
public TiledMapTileLayerDataContent Data { get; set; }
public override string ToString()
{
return Source;
}
}
}