blob: c012da4df0dbb9cdd6ae9d523b52714168b80ca4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
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/ -----------------
public class BitmapFontChar
{
[XmlAttribute("id")]
public int Id { get; set; }
[XmlAttribute("x")]
public int X { get; set; }
[XmlAttribute("y")]
public int Y { get; set; }
[XmlAttribute("width")]
public int Width { get; set; }
[XmlAttribute("height")]
public int Height { get; set; }
[XmlAttribute("xoffset")]
public int XOffset { get; set; }
[XmlAttribute("yoffset")]
public int YOffset { get; set; }
[XmlAttribute("xadvance")]
public int XAdvance { get; set; }
[XmlAttribute("page")]
public int Page { get; set; }
[XmlAttribute("chnl")]
public int Channel { get; set; }
}
}
|