25 lines
570 B
C#
25 lines
570 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.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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|