Exemple #1
0
 public void updateBoard(EstadoTableroAjedrez boardState) {
   board.updateBoard(boardState);
 }
Exemple #2
0
 public void selected(Localizacion loc) {
   board.selected(loc);
 }
Exemple #3
0
 public void dynamicUpdateStatusBar(JButton button) {
   for (int y = 0; y < board.getSide(); y++)
     for (int x = 0; x < board.getSide(); x++)
       if (button == board.getButton(y, x))
         updateStatusBar("" + processLocation(new Localizacion(y, x)), false);
 }
Exemple #4
0
 public void enable(Localizacion loc, boolean highlight) {
   board.enable(loc, highlight);
 }
Exemple #5
0
 public void resetBackground() {
   board.resetBackground();
 }
Exemple #6
0
 public void resetBorders() {
   board.resetBorders();
 }
Exemple #7
0
 public void flipBoard() {
   isFlipped.flip();
   board.flipBoard();
 }
Exemple #8
0
 public void enableSide(boolean turn) {
   board.enableSide(turn);
 }