/** * Method for testing the dominos Creates 49 dominos, and draws them in a table, and the flipped * versions in a table beside it */ public static void main(String[] arguments) { UI.setImmediateRepaint(false); double flippedLeft = 8 * (WIDTH + 5); for (int row = 0; row <= 6; row++) { for (int col = 0; col <= 6; col++) { Domino dom = new Domino(); double x = col * (WIDTH + 5); double y = row * (HEIGHT + 5); dom.draw(x, y); dom.flip(); dom.draw(flippedLeft + x, y); } } UI.repaintGraphics(); }