mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-26 00:45:20 +00:00
23 lines
498 B
C#
23 lines
498 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace MonoGame.Extended.Content.Pipeline.Tiled
|
|
{
|
|
[XmlRoot(ElementName = "tileoffset")]
|
|
public class TmxTileOffset
|
|
{
|
|
public TmxTileOffset()
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("{0}, {1}", X, Y);
|
|
}
|
|
|
|
[XmlAttribute(AttributeName = "x")]
|
|
public int X { get; set; }
|
|
|
|
[XmlAttribute(AttributeName = "y")]
|
|
public int Y { get; set; }
|
|
}
|
|
} |