mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 20:12:23 +00:00
17 lines
396 B
C#
17 lines
396 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace MonoGame.Extended.Content.Pipeline.Tiled
|
|
{
|
|
[XmlRoot(ElementName = "tileoffset")]
|
|
public class TiledMapTileOffsetContent
|
|
{
|
|
[XmlAttribute(AttributeName = "x")] public int X;
|
|
|
|
[XmlAttribute(AttributeName = "y")] public int Y;
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{X}, {Y}";
|
|
}
|
|
}
|
|
} |