Refactoring.
This commit is contained in:
@@ -8,8 +8,13 @@ using System.Text;
|
||||
|
||||
namespace RecrownedGTK.Tools
|
||||
{
|
||||
internal class Tools
|
||||
internal class Program
|
||||
{
|
||||
private class ConsoleInput : IUserInput {
|
||||
public string GetInput() {
|
||||
return Console.ReadLine();
|
||||
}
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
CommandEngine ce = new CommandEngine();
|
||||
@@ -40,7 +45,7 @@ namespace RecrownedGTK.Tools
|
||||
}
|
||||
else
|
||||
{
|
||||
ce.Run();
|
||||
ce.Run(new ConsoleInput());
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user