rhythmbullet/RhythmBullet/ContentResolvers/FontContentResolver.cs

25 lines
580 B
C#
Raw Normal View History

2018-12-04 05:05:54 +00:00
using RecrownedAthenaeum.sdfoieroiesopeopweir.ContentSystem;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2018-12-04 05:05:54 +00:00
namespace RecrownedAthenaeum.ContentResolvers
{
2018-10-30 23:29:54 +00:00
class FontContentResolver : IContentPathModifier
{
readonly ResolutionContentResolver rcr;
public 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);
}
}
}