mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 12:06:37 +00:00
18 lines
481 B
C#
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}";
|
|
}
|
|
}
|
|
} |