/** Paint everything! (board, frame, enclosure, control panel, lighting) */ void paintAll(MassBlockUpdate mbu) { if (designer == null) { fullBoard.fill(0, (byte) 0, mbu); } paintEnclosure(mbu); paintFrame(mbu); paintBoard(mbu); if (designer != null) { paintDesignIndicators(mbu); } if (fromSquare >= 0 || toSquare >= 0) { highlightSquares(fromSquare, toSquare); } fullBoard.forceLightLevel(boardStyle.getLightLevel()); }
/** Paint everything! (board, frame, enclosure, control panel, lighting) */ void paintAll(MassBlockUpdate mbu) { if (designer == null) { fullBoard.fill(0, (byte) 0, mbu); } paintEnclosure(mbu); paintFrame(mbu); paintBoard(mbu); if (designer != null) { paintDesignIndicators(mbu); } if (fromSquare >= 0 || toSquare >= 0) { highlightSquares(fromSquare, toSquare); } fullBoard.forceLightLevel(boardStyle.getLightLevel()); redrawNeeded = false; if (ChessCraft.getInstance().getDynmapIntegration() != null) { ChessCraft.getInstance().getDynmapIntegration().triggerUpdate(fullBoard); } }