Files
MonoGame.Extended/Source/MonoGame.Extended.Content.Pipeline/Tiled/TiledMapTilesetTileAnimationFrameContent.cs
T

18 lines
484 B
C#

using System.Xml.Serialization;
namespace MonoGame.Extended.Content.Pipeline.Tiled
{
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}";
}
}
}