1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-28 07:19:09 +02:00
MLEM/MLEM/Formatting/Codes/FontCode.cs
2020-05-15 19:55:59 +02:00

22 lines
499 B
C#

using System.Text.RegularExpressions;
using MLEM.Font;
namespace MLEM.Formatting.Codes {
public class FontCode : Code {
private readonly GenericFont font;
public FontCode(Match match, Regex regex, GenericFont font) : base(match, regex) {
this.font = font;
}
public override GenericFont GetFont() {
return this.font;
}
public override bool EndsHere(Code other) {
return other is FontCode;
}
}
}