Files
advent-of-code-2024/06/GuardGallivant/Move.cs
T

9 lines
264 B
C#
Raw Normal View History

2024-12-07 01:28:15 -06:00
namespace GuardGallivant;
record Move(int XOffset, int YOffset)
{
public static readonly Move Up = new(0, -1);
public static readonly Move Down = new(0, 1);
public static readonly Move Left = new(-1, 0);
public static readonly Move Right = new(1, 0);
}