rhythmbullet/RhythmBullet/ContentResolvers/FontContentResolver.cs

19 lines
447 B
C#
Raw Normal View History

using RecrownedAthenaeum.ContentSystem;
namespace RhythmBullet.ContentResolvers
{
2019-01-23 01:31:15 +00:00
internal class FontContentResolver : IContentPathResolver
{
readonly ResolutionContentResolver rcr;
2019-01-23 01:31:15 +00:00
internal FontContentResolver(ResolutionContentResolver rcr)
{
this.rcr = rcr;
}
2018-10-30 23:29:54 +00:00
public string Modify(string assetName)
{
2018-10-30 23:29:54 +00:00
return rcr.Modify("fonts/" + assetName);
}
}
}