public void printTile () {
for (int x = 0; x < tile.length; x++) {
for (int y = 0; y < tile[x].length; y++) {
tile[x][y].toString();
System.out.print(tile[x][y].shapeString + "\t\t\t\t");
}
System.out.println();
}
}
This method prints out the tile array however when I print it out it does not line up properly as the output appears to be like this:
SQ s: 4.0 c: red EMPTY EMPTY EMPTY EMPTY
EMPTY EMPTY EMPTY EMPTY EMPTY
EMPTY EMPTY EMPTY EMPTY EMPTY
EMPTY EMPTY EMPTY EMPTY EMPTY
EMPTY EMPTY EMPTY EMPTY EMPTY
Is there any way, where I can format and line up all the tiles properly ?