recrownedathenaeum/RecrownedAthenaeum/ContentSystem/ContentResolvers/FontContentResolver.cs

18 lines
416 B
C#
Raw Normal View History

2019-01-13 20:22:53 +00:00
namespace RecrownedAthenaeum.ContentSystem.ContentResolvers
2018-12-14 20:25:14 +00:00
{
class FontContentResolver : IContentPathModifier
{
readonly ResolutionContentResolver rcr;
public FontContentResolver(ResolutionContentResolver rcr)
{
this.rcr = rcr;
}
public string Modify(string assetName)
{
return rcr.Modify("fonts/" + assetName);
}
}
}