Skip to content
Permalink
8a170ef450
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (14 sloc) 247 Bytes
class Piece{
//represents a game piece
char _token;
int _row;
int _col;
public Piece(char t, int r, int c) {
_token = t;
_row = r;
_col = c;
}
public Piece clone() {
return new Piece(_token, _row, _col);
}
}