Game Logic in Frontend
This commit is contained in:
@@ -4,17 +4,7 @@ namespace API.Models.Game;
|
||||
|
||||
public readonly struct Coordinates
|
||||
{
|
||||
[JsonConstructor]
|
||||
public Coordinates(int x, int y)
|
||||
{
|
||||
X = x;
|
||||
Y = y;
|
||||
}
|
||||
|
||||
[JsonPropertyName("x")]
|
||||
public int X { get; init; }
|
||||
|
||||
[JsonPropertyName("y")]
|
||||
public int Y { get; init; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user