fixed to string

This commit is contained in:
MSI 2025-05-06 16:12:35 +02:00
parent ca4c22f545
commit f128c00c03
1 changed files with 3 additions and 3 deletions

View File

@ -109,9 +109,9 @@ public class Board {
ArrayList<String> ps=new ArrayList<>(); ArrayList<String> ps=new ArrayList<>();
for(int y=0;y<lNum;y++) { for(int y=0;y<lNum;y++) {
for (int x=0; x<cNum; x++) { for (int x=0; x<cNum; x++) {
if(selectedCell!=null) { if (selectedCell != null) {
ps.add(selectedCell.isWhite()?"W":"B"); ps.add(selectedCell.isWhite() ? "W" : "B");
ps.add(selectedCell.getType().toString()); ps.add(selectedCell.getType().toString());
} }
else { else {
ps.add("--"); ps.add("--");