2024-12-10 20:52:40 -06:00
|
|
|
namespace HoofIt;
|
|
|
|
|
|
2024-12-16 14:28:09 -06:00
|
|
|
record Direction(int Xd, int Yd)
|
2024-12-10 20:52:40 -06:00
|
|
|
{
|
2024-12-16 14:28:09 -06:00
|
|
|
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);
|
2024-12-10 20:52:40 -06:00
|
|
|
}
|