From 26a359de46fdf8debd9c2fe6297de40bb90cc598 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 7 Dec 2018 02:27:34 -0600 Subject: [PATCH] continued refactor. --- .../CommandProcessor/CommandEngine.cs | 7 +++---- ...ConsoleTools.csproj => RecrownedAthenaeum.Tools.csproj} | 0 .../TextureAtlasTools/TexturePacker.cs | 2 +- .../{ConsoleTools.cs => Tools.cs} | 3 +-- RecrownedAthenaeum.sln | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) rename RecrownedAthenaeum.ConsoleTools/{RecrownedAthenaeum.ConsoleTools.csproj => RecrownedAthenaeum.Tools.csproj} (100%) rename RecrownedAthenaeum.ConsoleTools/{ConsoleTools.cs => Tools.cs} (86%) diff --git a/RecrownedAthenaeum.ConsoleTools/CommandProcessor/CommandEngine.cs b/RecrownedAthenaeum.ConsoleTools/CommandProcessor/CommandEngine.cs index 1b85046..07e9b82 100644 --- a/RecrownedAthenaeum.ConsoleTools/CommandProcessor/CommandEngine.cs +++ b/RecrownedAthenaeum.ConsoleTools/CommandProcessor/CommandEngine.cs @@ -7,10 +7,6 @@ namespace RecrownedAthenaeum.Tools.CommandProcessor internal class CommandEngine { public bool running; - public void Process(string command) - { - - } internal void Run() { @@ -20,5 +16,8 @@ namespace RecrownedAthenaeum.Tools.CommandProcessor Process(command); } } + public void Process(string command) + { + } } } diff --git a/RecrownedAthenaeum.ConsoleTools/RecrownedAthenaeum.ConsoleTools.csproj b/RecrownedAthenaeum.ConsoleTools/RecrownedAthenaeum.Tools.csproj similarity index 100% rename from RecrownedAthenaeum.ConsoleTools/RecrownedAthenaeum.ConsoleTools.csproj rename to RecrownedAthenaeum.ConsoleTools/RecrownedAthenaeum.Tools.csproj diff --git a/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePacker.cs b/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePacker.cs index f8ceeaa..ed817c7 100644 --- a/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePacker.cs +++ b/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePacker.cs @@ -11,7 +11,7 @@ using SixLabors.ImageSharp.PixelFormats; namespace RecrownedAthenaeum.Tools.TextureAtlas { - internal class TexturePacker : IDisposable + public class TexturePacker : IDisposable { private enum SupportedExtensions { diff --git a/RecrownedAthenaeum.ConsoleTools/ConsoleTools.cs b/RecrownedAthenaeum.ConsoleTools/Tools.cs similarity index 86% rename from RecrownedAthenaeum.ConsoleTools/ConsoleTools.cs rename to RecrownedAthenaeum.ConsoleTools/Tools.cs index 28fcc6a..b98f2bc 100644 --- a/RecrownedAthenaeum.ConsoleTools/ConsoleTools.cs +++ b/RecrownedAthenaeum.ConsoleTools/Tools.cs @@ -4,12 +4,11 @@ using System.Reflection; namespace RecrownedAthenaeum.Tools { - internal class ConsoleTools + internal class Tools { static void Main(string[] args) { Console.WriteLine("Recrowned Athenaeum Console Tools version " + Assembly.GetExecutingAssembly().GetName().Version.ToString()); - bool running = true; CommandEngine ce = new CommandEngine(); ce.Run(); diff --git a/RecrownedAthenaeum.sln b/RecrownedAthenaeum.sln index 655477c..0ab2384 100644 --- a/RecrownedAthenaeum.sln +++ b/RecrownedAthenaeum.sln @@ -7,7 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecrownedAthenaeum", "Recro EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecrownedAthenaeum.Pipeline", "RecrownedAthenaeum.Pipeline\RecrownedAthenaeum.Pipeline.csproj", "{B38F9812-B1D1-4BFE-89EE-FC4DD4EBAA3F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecrownedAthenaeum.ConsoleTools", "RecrownedAthenaeum.ConsoleTools\RecrownedAthenaeum.ConsoleTools.csproj", "{51E77E29-AD31-449E-9C98-980E5C978EF9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RecrownedAthenaeum.Tools", "RecrownedAthenaeum.ConsoleTools\RecrownedAthenaeum.Tools.csproj", "{51E77E29-AD31-449E-9C98-980E5C978EF9}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution