pla-01/Life/Misc/Position.cs
2019-10-26 16:47:08 +02:00

19 lines
321 B
C#

namespace Life.Misc
{
public struct Position
{
public Position(int x, int y)
{
X = x;
Y = y;
}
public readonly int X;
public readonly int Y;
public override string ToString()
{
return $"({X}, {Y})";
}
}
}