public void setSimulation(NavigationMapManager navMap , Bitmap skyView) { mapManager = navMap; elevationBitmap = (Bitmap)mapManager.getElevationBitmap().Clone(); slopeBitmap = (Bitmap)mapManager.getSlopeBitmap().Clone(); hazardBitmap = (Bitmap)mapManager.getHazardBitmap().Clone(); skyBitmap = (Bitmap)skyView.Clone(); hazardSectorSize = mapManager.getHazardSectorSize(); areaSize = mapManager.getAreaSize(); hazardModel = mapManager.hazardModel; }
public void generateHazardModel(int size) { hazardModel = new HazardModel(slopeModel.getModel(), size); }