Files
MonoGame.Extended/source/MonoGame.Extended.Tiled/Serialization/TiledMapTilesetTileAnimationFrameContent.cs
T
2024-05-18 19:59:41 -04:00

18 lines
481 B
C#

using System.Xml.Serialization;
namespace MonoGame.Extended.Tiled.Serialization
{
public class TiledMapTilesetTileAnimationFrameContent
{
[XmlAttribute(AttributeName = "tileid")]
public int TileIdentifier { get; set; }
[XmlAttribute(AttributeName = "duration")]
public int Duration { get; set; }
public override string ToString()
{
return $"TileID: {TileIdentifier}, Duration: {Duration}";
}
}
}