public void activateMap(boolean newMap) {
	if(newMap)
	{
	    mapren = new MapRenderer();
	    mapgen = new MapGenerator();
	    mapgen.generateAll();
	    map = mapgen.getMap();
	    buildings = mapgen.getBuildings();
	}
	setGuiScreen(null);
	canvas.mapRenderer = mapren;
	canvas.addMouseListener(canvas.mapRenderer);
	canvas.addMouseMotionListener(canvas.mapRenderer);
	canvas.addMouseWheelListener(canvas.mapRenderer);
	frame.addKeyListener(canvas.mapRenderer);
    }