public void changeColor(int[] i, int b) {
		if (b == 1) {
			int c = getColor(i).getInt() + 1;
			if (c > 5)
				c = 0;
			setPiece(i, TileColor.get(c));
		} else if (b == 2) {
			int c = getColor(i).getInt() + 3;
			if (c > 5)
				c -= 6;
			setPiece(i, TileColor.get(c));
		} else if (b == 3) {
			int c = getColor(i).getInt() - 1;
			if (c < 0)
				c = 5;
			setPiece(i, TileColor.get(c));
		}
	}