TableturfBattleApp/TableturfBattleServer/Point.cs
2022-10-01 16:00:50 +10:00

15 lines
232 B
C#

using Newtonsoft.Json;
namespace TableturfBattleServer;
public struct Point {
[JsonProperty("x")]
public int X;
[JsonProperty("y")]
public int Y;
public Point(int x, int y) {
this.X = x;
this.Y = y;
}
}