public GameFrame(GameWorld world, Map<String, EditorLevelInformation> levels, List<HiScoreEntry> hiScore,
			Map<String, Class<? extends GameMap>> specialLevels, boolean editorEnabled)
	{
		super("Gravity");
		this.world = world;
		this.levels = levels;
		this.hiScore = hiScore;
		this.specialLevels = specialLevels;
		this.editorEnabled = editorEnabled;
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		content = new GameMenuPanel(this.world, this);
		setFocusable(true);
		addKeyListener(this);
		requestFocus();
		setContentPane(content);
		leftKey = KeyEvent.VK_LEFT;
		rightKey = KeyEvent.VK_RIGHT;
		switchKey = KeyEvent.VK_Z;
		enterKey = KeyEvent.VK_SPACE;
		dejavuSet = new TreeSet<String>();
		activatedSet = new TreeSet<String>();
		
	}