332333334335336337338339340341342
g.dispose(); g = (Graphics2D) image2.getGraphics(); battle2.drawBackground(g); battle2.drawFilter(g, true); battle2.drawGrid(g); g.dispose(); try { assertTrue("Images should be same", compareImage(image1, image2)); } catch (IOException e) {