protected synchronized void updateBoard() {
synchronized void updateBoard() {
    protected synchronized void updateBoard() {        updateBoardSize();        backGraph = null;        backImage = null;        backSize = null;        boardImage = null;        boardGraph = null;        tileManager.reset();        redrawAllEntities();    }