summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/source/MonoGame.Extended.Tiled/Serialization/TiledMapTileOffsetContent.cs
blob: 7d2af87b31ac38b3b7f10292d474159e0ef1fa98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System.Xml.Serialization;

namespace MonoGame.Extended.Tiled.Serialization
{
    [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}";
        }
    }
}