Renderer
99100101102103104105106107108109
{ System.err.println("SUPER ERROR: MAP CANNOT LOAD."); fnfe.printStackTrace(); } map = MapLoader.loadMap(mapStream); r = new J2SE14Renderer(map); mapViewer = new MapViewer(map, r, BaseVars.MAPHEIGHT, BaseVars.MAPWIDTH); //NAME THE LAYERS currentMapMain = mapViewer.getLayerViewers()[0]; currentMapMainNPCs = mapViewer.getLayerViewers()[1];