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

25 lines
570 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
{
class FontContentResolver : IContentResolver
{
readonly ResolutionContentResolver rcr;
public FontContentResolver(ResolutionContentResolver rcr)
{
this.rcr = rcr;
}
public string Load(string assetName)
{
return rcr.Load("fonts/" + assetName);
}
}
}