25 lines
573 B
C#
25 lines
573 B
C#
using RhythmBullet.Zer01HD.Utilities.ContentSystem;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RhythmBullet.Zer01HD.ContentResolvers
|
|
{
|
|
class FontContentResolver : IContentPathModifier
|
|
{
|
|
readonly ResolutionContentResolver rcr;
|
|
|
|
public FontContentResolver(ResolutionContentResolver rcr)
|
|
{
|
|
this.rcr = rcr;
|
|
}
|
|
|
|
public string Modify(string assetName)
|
|
{
|
|
return rcr.Modify("fonts/" + assetName);
|
|
}
|
|
}
|
|
}
|