rhythmbullet/RhythmBullet/ContentResolvers/FontContentResolver.cs

20 lines
443 B
C#

using RecrownedAthenaeum.ContentSystem;
namespace RecrownedAthenaeum.ContentResolvers
{
class FontContentResolver : IContentPathModifier
{
readonly ResolutionContentResolver rcr;
public FontContentResolver(ResolutionContentResolver rcr)
{
this.rcr = rcr;
}
public string Modify(string assetName)
{
return rcr.Modify("fonts/" + assetName);
}
}
}