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