ResourceManager!

This commit is contained in:
2023-06-18 22:16:28 +02:00
parent c0bdb3d4a6
commit 2fb5125ece
9 changed files with 215 additions and 22 deletions

View File

@@ -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;
}