Skip to content

Commit

Permalink
Refactor: Change int to wrapper class
Browse files Browse the repository at this point in the history
  • Loading branch information
JonBergland committed Feb 1, 2024
1 parent 15cee42 commit f0a1abd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class MoveRequest {
private final String gameId;
private final Move move;

public MoveRequest(String gameId, int x, int y) {
public MoveRequest(String gameId, Integer x, Integer y) {
this.gameId = gameId;
this.move = new Move(x, y);
}
Expand Down

0 comments on commit f0a1abd

Please sign in to comment.