WIP: fonts.

This commit is contained in:
2023-06-20 00:18:35 +02:00
parent 72b6896d3e
commit 193462b747
11 changed files with 79 additions and 9 deletions

View File

@@ -102,7 +102,8 @@ namespace DaggerFramework.Resources
private readonly Dictionary<Type, IResourceLoader> _resourceLoaderAssociations = new()
{
{typeof(Sound), new SoundLoader()},
{typeof(Texture2d), new Texture2dLoader()}
{typeof(Texture2d), new Texture2dLoader()},
{typeof(Font), new FontLoader()}
};
private Dictionary<string, Resource> _loadedResources = new();