Cleaned up asset loading system, and made progress on game engine structure.

This commit is contained in:
2020-05-18 14:07:25 -05:00
parent 8e2510903f
commit 635ed9fb7d
11 changed files with 90 additions and 33 deletions

View File

@@ -3,6 +3,7 @@ using RecrownedGTK.AssetsSystem.Information;
namespace RecrownedGTK.AssetsSystem.Loaders {
public interface ILoader
{
Type resultingType {get;}
IInfo load(string path);
}
}

View File

@@ -7,6 +7,8 @@ using RecrownedGTK.Graphics;
namespace RecrownedGTK.AssetsSystem.Loaders {
public class TextureLoader : ILoader
{
public Type resultingType => typeof(TextureData);
public IInfo load(string path)
{
int width;