From b1e4d5b114a1ea08d24a9377ff345eef066c2d83 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:29:03 -0600 Subject: [PATCH] feat: work on day 15 part 1 --- 15/WarehouseWoes/Program.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/15/WarehouseWoes/Program.cs b/15/WarehouseWoes/Program.cs index 810eed3..8ab9fc2 100644 --- a/15/WarehouseWoes/Program.cs +++ b/15/WarehouseWoes/Program.cs @@ -180,11 +180,11 @@ record Direction(int Xd, int Yd) private const char RightCharacter = '>'; private const char DownCharacter = 'v'; private const char LeftCharacter = '<'; - - public static readonly Direction Up = new(0, -1); - public static readonly Direction Down = new(0, 1); - public static readonly Direction Left = new(-1, 0); - public static readonly Direction Right = new(1, 0); + + private static readonly Direction Up = new(0, -1); + private static readonly Direction Down = new(0, 1); + private static readonly Direction Left = new(-1, 0); + private static readonly Direction Right = new(1, 0); public static Direction From(char character) {