if(game.getOptions().booleanOption("night_battle")) { nightFog = comp.getToolkit().getImage(NIGHT_IMAGE_FILE); }   artilleryAutohit = comp.getToolkit().getImage(ARTILLERY_AUTOHIT_IMAGE_FILE); artilleryAdjusted = comp.getToolkit().getImage(ARTILLERY_ADJUSTED_IMAGE_FILE); artilleryIncoming = comp.getToolkit().getImage(ARTILLERY_INCOMING_IMAGE_FILE);
    public void loadNeededImages(IGame game) {        loaded = false;        IBoard board = game.getBoard();        // pre-match all hexes with images, load hex images        for (int y = 0; y < board.getHeight(); y++) {            for (int x = 0; x < board.getWidth(); x++) {                IHex hex = board.getHex(x, y);                loadHexImage(hex);            }        }                // load all mech images        for (java.util.Enumeration i = game.getEntities(); i.hasMoreElements();) {            loadImage((Entity)i.nextElement());        }                // load minefield sign        minefieldSign = comp.getToolkit().getImage(Minefield.IMAGE_FILE);        started = true;    }