2018-11-21 00:56:41 +00:00
|
|
|
|
using RhythmBullet.Utilities.ContentSystem;
|
2018-09-16 06:37:48 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-11-21 00:56:41 +00:00
|
|
|
|
namespace RhythmBullet.ContentResolvers
|
2018-09-16 06:37:48 +00:00
|
|
|
|
{
|
2018-10-30 23:29:54 +00:00
|
|
|
|
class FontContentResolver : IContentPathModifier
|
2018-09-16 06:37:48 +00:00
|
|
|
|
{
|
|
|
|
|
readonly ResolutionContentResolver rcr;
|
|
|
|
|
|
|
|
|
|
public FontContentResolver(ResolutionContentResolver rcr)
|
|
|
|
|
{
|
|
|
|
|
this.rcr = rcr;
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-30 23:29:54 +00:00
|
|
|
|
public string Modify(string assetName)
|
2018-09-16 06:37:48 +00:00
|
|
|
|
{
|
2018-10-30 23:29:54 +00:00
|
|
|
|
return rcr.Modify("fonts/" + assetName);
|
2018-09-16 06:37:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|