private void LoadTilemapEditor()
 {
     if (tilemapEditor == null)
     {
         tilemapEditor = new TilemapEditor(
             this, this.level, this.tilemap, this.solidityMap, this.tileset, this.overlay,
             this.paletteEditor, this.tilesetEditor, this.levelsSolidTiles, this.levelsTemplate);
         tilemapEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing);
     }
     else
     {
         tilemapEditor.Reload(
             this, this.level, this.tilemap, this.solidityMap, this.tileset, this.overlay,
             this.paletteEditor, this.tilesetEditor, this.levelsSolidTiles, this.levelsTemplate);
     }
 }
Beispiel #2
0
 private void LoadTilemapEditor()
 {
     if (tilemapEditor == null)
     {
         tilemapEditor = new TilemapEditor(
             this, this.tilemap, this.tileset, this.overlay,
             this.stagePaletteEditor, this.tilesetEditor);
         tilemapEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing);
     }
     else
     {
         tilemapEditor.Reload(
             this, this.tilemap, this.tileset, this.overlay,
             this.stagePaletteEditor, this.tilesetEditor);
     }
 }