rhythmbullet/RhythmBullet/Zer01HD/Game/ContentResolvers/FontContentResolver.cs

25 lines
578 B
C#
Raw Normal View History

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
{
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);
}
}
}