public MapModel(String mapFilePath) {
        initImages();

        explosionDeaths = new ArrayList<Integer>();

        if (mapFilePath == null) {
            generateRandomMap();
        } else {
            try {
                loadMapFromFile(mapFilePath);
            } catch (Exception ex) {
                Logger.getLogger(MapModel.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        startMapView();
    }