Toolkit kit = Toolkit.getDefaultToolkit();
icon = kit.createImage(url);
image = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_RGB);
pixels = ((DataBufferInt) image.getRaster().getDataBuffer()).getData();
screen = new Screen(WIDTH, HEIGHT);
mines = new Minefield(FIELD_X, FIELD_Y, NUM_MINES, MINE_SIZE, MINE_SIZE, BUFFER, EDGE, screen);
score = NUM_MINES;
clock = new Clock();