ResourceManager!
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
namespace DaggerFramework;
|
||||
namespace DaggerFramework.Resources;
|
||||
|
||||
public class FontLoader : ResourceLoader<Font>
|
||||
public class FontLoader : IResourceLoader
|
||||
{
|
||||
public override Font Load(string path)
|
||||
public IEnumerable<string> SupportedExtensions => new string[]
|
||||
{
|
||||
".ttf"
|
||||
};
|
||||
|
||||
public Type ResourceType => typeof(Font);
|
||||
|
||||
public Resource Load(string path)
|
||||
{
|
||||
return default;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user