mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-26 00:45:20 +00:00
Move source projects into source directory
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user