2018-09-16 06:37:48 +00:00
|
|
|
|
using RhythmBullet.Zer01HD.Utilities.ContentSystem;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace RhythmBullet.Zer01HD.Game.ContentResolvers
|
|
|
|
|
{
|
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
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|