mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-26 00:45:20 +00:00
27 lines
693 B
C#
27 lines
693 B
C#
using System.Collections.Generic;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace MonoGame.Extended.Content.Pipeline.Tiled
|
|
{
|
|
public class TiledMapTerrainContent
|
|
{
|
|
[XmlAttribute(AttributeName = "name")]
|
|
public string Name { get; set; }
|
|
|
|
[XmlAttribute(AttributeName = "tile")]
|
|
public string TileId { get; set; }
|
|
|
|
[XmlArray("properties"), XmlArrayItem("property")]
|
|
public List<TiledMapPropertyContent> Properties { get; set; }
|
|
|
|
public TiledMapTerrainContent()
|
|
{
|
|
Properties = new List<TiledMapPropertyContent>();
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Name;
|
|
}
|
|
}
|
|
} |