예제 #1
0
        public TilesetImporterViewModel(TilesetDocument tileset)
        {
            _importer = new TilesetImporter(tileset);
            SetTileset(tileset);
            ImportImagesCommand = new RelayCommand(x => ImportImages());
            ExtractCommand      = new RelayCommand(x => ExtractImages());
            CompactSheetCommand = new RelayCommand(x => CompactSheet());

            RefreshSheet();
        }
예제 #2
0
 protected override void SetTileset(TilesetDocument tileset)
 {
     base.SetTileset(tileset);
     _importer = new TilesetImporter(tileset);
     RefreshSheet();
 }