Refactoring.
This commit is contained in:
parent
45e62f8058
commit
ca55ca7208
@ -4,7 +4,7 @@ using OpenTK;
|
|||||||
using System;
|
using System;
|
||||||
namespace RecrownedGTK.Tests.Graphics {
|
namespace RecrownedGTK.Tests.Graphics {
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class CameraTests {
|
public class CameraTest {
|
||||||
Camera camera;
|
Camera camera;
|
||||||
Vector4 position;
|
Vector4 position;
|
||||||
|
|
@ -2,7 +2,7 @@ using NUnit.Framework;
|
|||||||
using RecrownedGTK.Types;
|
using RecrownedGTK.Types;
|
||||||
namespace RecrownedGTK.Tests.Types {
|
namespace RecrownedGTK.Tests.Types {
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class RectangleTests {
|
public class RectangleTest {
|
||||||
Rectangle rectangle;
|
Rectangle rectangle;
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void Setup() {
|
public void Setup() {
|
@ -8,8 +8,13 @@ using System.Text;
|
|||||||
|
|
||||||
namespace RecrownedGTK.Tools
|
namespace RecrownedGTK.Tools
|
||||||
{
|
{
|
||||||
internal class Tools
|
internal class Program
|
||||||
{
|
{
|
||||||
|
private class ConsoleInput : IUserInput {
|
||||||
|
public string GetInput() {
|
||||||
|
return Console.ReadLine();
|
||||||
|
}
|
||||||
|
}
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
CommandEngine ce = new CommandEngine();
|
CommandEngine ce = new CommandEngine();
|
||||||
@ -40,7 +45,7 @@ namespace RecrownedGTK.Tools
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ce.Run();
|
ce.Run(new ConsoleInput());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user