From bb3d0bced595d372f9a9a04aa6ec61196afca093 Mon Sep 17 00:00:00 2001 From: Harrison Date: Sat, 27 Jun 2020 17:07:01 -0500 Subject: [PATCH] Refactoring. --- .../{Loader => AssetSystem}/AssetManager.cs | 2 +- .../{Loader => AssetSystem}/IAssetUseable.cs | 2 +- src/SlatedGameToolkit.Framework/Graphics/Textures/Texture.cs | 2 +- .../Graphics/Textures/TextureData.cs | 2 +- .../Utilities/{EmbeddedResourceUtils.cs => EmbeddedResUtils.cs} | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename src/SlatedGameToolkit.Framework/{Loader => AssetSystem}/AssetManager.cs (99%) rename src/SlatedGameToolkit.Framework/{Loader => AssetSystem}/IAssetUseable.cs (63%) rename src/SlatedGameToolkit.Framework/Utilities/{EmbeddedResourceUtils.cs => EmbeddedResUtils.cs} (95%) diff --git a/src/SlatedGameToolkit.Framework/Loader/AssetManager.cs b/src/SlatedGameToolkit.Framework/AssetSystem/AssetManager.cs similarity index 99% rename from src/SlatedGameToolkit.Framework/Loader/AssetManager.cs rename to src/SlatedGameToolkit.Framework/AssetSystem/AssetManager.cs index 8776684..dd30ce2 100644 --- a/src/SlatedGameToolkit.Framework/Loader/AssetManager.cs +++ b/src/SlatedGameToolkit.Framework/AssetSystem/AssetManager.cs @@ -7,7 +7,7 @@ using SlatedGameToolkit.Framework.Exceptions; using SlatedGameToolkit.Framework.Graphics.OpenGL; using SlatedGameToolkit.Framework.Graphics.Window; -namespace SlatedGameToolkit.Framework.Loader { +namespace SlatedGameToolkit.Framework.AssetSystem { /// /// A delegate that should modify a given path. /// diff --git a/src/SlatedGameToolkit.Framework/Loader/IAssetUseable.cs b/src/SlatedGameToolkit.Framework/AssetSystem/IAssetUseable.cs similarity index 63% rename from src/SlatedGameToolkit.Framework/Loader/IAssetUseable.cs rename to src/SlatedGameToolkit.Framework/AssetSystem/IAssetUseable.cs index b1829e2..0d5adf2 100644 --- a/src/SlatedGameToolkit.Framework/Loader/IAssetUseable.cs +++ b/src/SlatedGameToolkit.Framework/AssetSystem/IAssetUseable.cs @@ -1,6 +1,6 @@ using System; -namespace SlatedGameToolkit.Framework.Loader +namespace SlatedGameToolkit.Framework.AssetSystem { public interface IAssetUseable : IDisposable { diff --git a/src/SlatedGameToolkit.Framework/Graphics/Textures/Texture.cs b/src/SlatedGameToolkit.Framework/Graphics/Textures/Texture.cs index 72c77a8..4557aa1 100644 --- a/src/SlatedGameToolkit.Framework/Graphics/Textures/Texture.cs +++ b/src/SlatedGameToolkit.Framework/Graphics/Textures/Texture.cs @@ -2,7 +2,7 @@ using System; using SlatedGameToolkit.Framework.Graphics.OpenGL; using SlatedGameToolkit.Framework.Graphics.Render; using SlatedGameToolkit.Framework.Graphics.Window; -using SlatedGameToolkit.Framework.Loader; +using SlatedGameToolkit.Framework.AssetSystem; namespace SlatedGameToolkit.Framework.Graphics.Textures { diff --git a/src/SlatedGameToolkit.Framework/Graphics/Textures/TextureData.cs b/src/SlatedGameToolkit.Framework/Graphics/Textures/TextureData.cs index d667f93..19f40ad 100644 --- a/src/SlatedGameToolkit.Framework/Graphics/Textures/TextureData.cs +++ b/src/SlatedGameToolkit.Framework/Graphics/Textures/TextureData.cs @@ -1,4 +1,4 @@ -using SlatedGameToolkit.Framework.Loader; +using SlatedGameToolkit.Framework.AssetSystem; namespace SlatedGameToolkit.Framework.Graphics.Textures { diff --git a/src/SlatedGameToolkit.Framework/Utilities/EmbeddedResourceUtils.cs b/src/SlatedGameToolkit.Framework/Utilities/EmbeddedResUtils.cs similarity index 95% rename from src/SlatedGameToolkit.Framework/Utilities/EmbeddedResourceUtils.cs rename to src/SlatedGameToolkit.Framework/Utilities/EmbeddedResUtils.cs index e97879e..ea217a7 100644 --- a/src/SlatedGameToolkit.Framework/Utilities/EmbeddedResourceUtils.cs +++ b/src/SlatedGameToolkit.Framework/Utilities/EmbeddedResUtils.cs @@ -5,7 +5,7 @@ using System.Reflection; namespace SlatedGameToolkit.Framework.Utilities { - public static class EmbeddedResourceUtils + public static class EmbeddedResUtils { public static string ReadEmbeddedResourceText(string name) { string res;