Optimal path generated for square cells
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace ConsoleApp.Maps
|
||||
{
|
||||
public class Direction
|
||||
{
|
||||
public static Tuple<int, int> Forward => _forward;
|
||||
public static Tuple<int, int> Reverse => _reverse;
|
||||
|
||||
|
||||
private static Tuple<int,int> _forward = new Tuple<int, int>(1, 0);
|
||||
private static Tuple<int,int> _reverse = new Tuple<int, int>(-1, 0);
|
||||
|
||||
}
|
||||
}
|
||||
7
ConsoleApp/Maps/GlobalDirection.cs
Normal file
7
ConsoleApp/Maps/GlobalDirection.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp.Maps
|
||||
{
|
||||
public enum Direction
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user