public Dispatcher( CoreModel model, IDialogService dialogService, SectionService sectionService, SectionBitmapService sectionBitmapService, FeatureService featureService, MapLoadingService mapLoadingService, ImageImportService imageImportingService, BitmapCache tileCache, MainForm mainForm) { this.model = model; this.dialogService = dialogService; this.sectionService = sectionService; this.sectionBitmapService = sectionBitmapService; this.featureService = featureService; this.mapLoadingService = mapLoadingService; this.imageImportingService = imageImportingService; this.tileCache = tileCache; this.mainForm = mainForm; this.sectionView = mainForm.SectionView; this.featureView = mainForm.FeatureView; this.accessibleFeatures = new AccessibleFeatures(); }
private void New(int width, int height) { this.model.Map = Maybe.Some(MapLoadingService.CreateMap(width, height)); this.SetAccessibleFeatures(); }