Created
November 1, 2014 22:10
-
-
Save keshavsaharia/2a8adf6571626d6b3d9b to your computer and use it in GitHub Desktop.
TicTacToe move class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Move { | |
private int x; | |
private int y; | |
public Move(int x, int y) { | |
this.x = x; | |
this.y = y; | |
} | |
public int getX() { | |
return x; | |
} | |
public int getY() { | |
return y; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment