backing up
This commit is contained in:
15
ConsoleApp/Maps/Direction.cs
Normal file
15
ConsoleApp/Maps/Direction.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user