Cleaned up asset loading system, and made progress on game engine structure.
This commit is contained in:
@@ -3,6 +3,7 @@ using RecrownedGTK.AssetsSystem.Information;
|
||||
namespace RecrownedGTK.AssetsSystem.Loaders {
|
||||
public interface ILoader
|
||||
{
|
||||
Type resultingType {get;}
|
||||
IInfo load(string path);
|
||||
}
|
||||
}
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user