fixed to string
This commit is contained in:
parent
ca4c22f545
commit
f128c00c03
|
|
@ -109,9 +109,9 @@ public class Board {
|
|||
ArrayList<String> ps=new ArrayList<>();
|
||||
for(int y=0;y<lNum;y++) {
|
||||
for (int x=0; x<cNum; x++) {
|
||||
if(selectedCell!=null) {
|
||||
ps.add(selectedCell.isWhite()?"W":"B");
|
||||
ps.add(selectedCell.getType().toString());
|
||||
if (selectedCell != null) {
|
||||
ps.add(selectedCell.isWhite() ? "W" : "B");
|
||||
ps.add(selectedCell.getType().toString());
|
||||
}
|
||||
else {
|
||||
ps.add("--");
|
||||
|
|
|
|||
Loading…
Reference in New Issue