mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-01-02 01:20:15 +01:00
Remove unused SavedGame references and related functionality
it didn't really work for a long time anyway and was extremely outdated
This commit is contained in:
@@ -4,13 +4,11 @@ import com.gpl.rpg.atcontentstudio.model.ProjectTreeNode;
|
||||
import com.gpl.rpg.atcontentstudio.model.gamedata.*;
|
||||
import com.gpl.rpg.atcontentstudio.model.maps.TMXMap;
|
||||
import com.gpl.rpg.atcontentstudio.model.maps.WorldmapSegment;
|
||||
import com.gpl.rpg.atcontentstudio.model.saves.SavedGame;
|
||||
import com.gpl.rpg.atcontentstudio.model.sprites.Spritesheet;
|
||||
import com.gpl.rpg.atcontentstudio.model.tools.writermode.WriterModeData;
|
||||
import com.gpl.rpg.atcontentstudio.ui.gamedataeditors.*;
|
||||
import com.gpl.rpg.atcontentstudio.ui.map.TMXMapEditor;
|
||||
import com.gpl.rpg.atcontentstudio.ui.map.WorldMapEditor;
|
||||
import com.gpl.rpg.atcontentstudio.ui.saves.SavedGameEditor;
|
||||
import com.gpl.rpg.atcontentstudio.ui.sprites.SpritesheetEditor;
|
||||
import com.gpl.rpg.atcontentstudio.ui.tools.writermode.WriterModeEditor;
|
||||
import com.jidesoft.swing.JideTabbedPane;
|
||||
@@ -129,15 +127,6 @@ public class EditorsArea extends JPanel {
|
||||
}
|
||||
|
||||
|
||||
public void openEditor(SavedGame save) {
|
||||
if (editors.containsKey(save)) {
|
||||
tabHolder.setSelectedComponent(editors.get(save));
|
||||
return;
|
||||
}
|
||||
openEditor(new SavedGameEditor(save));
|
||||
}
|
||||
|
||||
|
||||
public void openEditor(WorldmapSegment node) {
|
||||
if (editors.containsKey(node)) {
|
||||
tabHolder.setSelectedComponent(editors.get(node));
|
||||
|
||||
Reference in New Issue
Block a user