feat: work on day 15 part 1
This commit is contained in:
1 parent
c5e8ebbf22
commit
b1e4d5b114
1 file changed
+4
-4
@@ -181,10 +181,10 @@ record Direction(int Xd, int Yd)
|
|||||||
private const char DownCharacter = 'v';
|
private const char DownCharacter = 'v';
|
||||||
private const char LeftCharacter = '<';
|
private const char LeftCharacter = '<';
|
||||||
|
|
||||||
public static readonly Direction Up = new(0, -1);
|
private static readonly Direction Up = new(0, -1);
|
||||||
public static readonly Direction Down = new(0, 1);
|
private static readonly Direction Down = new(0, 1);
|
||||||
public static readonly Direction Left = new(-1, 0);
|
private static readonly Direction Left = new(-1, 0);
|
||||||
public static readonly Direction Right = new(1, 0);
|
private static readonly Direction Right = new(1, 0);
|
||||||
|
|
||||||
public static Direction From(char character)
|
public static Direction From(char character)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user