Files
MonoGame.Extended/Source/MonoGame.Extended.Content.Pipeline/BitmapFonts/BitmapFontFile.cs
T
Lucas Girouard-StranksandDylan Wilson 9e359fb750 Tiled Rework (#331)
* Tiled Rework

* fix failing tests

* really fix failing tests
2017-01-18 20:46:38 +10:00

35 lines
1005 B
C#

#region
using System.Collections.Generic;
using System.Xml.Serialization;
#endregion
namespace MonoGame.Extended.Content.Pipeline.BitmapFonts
{
// ---- AngelCode BmFont XML serializer ----------------------
// ---- By DeadlyDan @ deadlydan@gmail.com -------------------
// ---- There's no license restrictions, use as you will. ----
// ---- Credits to http://www.angelcode.com/ -----------------
[XmlRoot("font")]
public class BitmapFontFile
{
[XmlElement("info")]
public BitmapFontInfo Info { get; set; }
[XmlElement("common")]
public BitmapFontCommon Common { get; set; }
[XmlArray("pages")]
[XmlArrayItem("page")]
public List<BitmapFontPage> Pages { get; set; }
[XmlArray("chars")]
[XmlArrayItem("char")]
public List<BitmapFontChar> Chars { get; set; }
[XmlArray("kernings")]
[XmlArrayItem("kerning")]
public List<BitmapFontKerning> Kernings { get; set; }
}
}