@Override
	public void actionPerformed(InputEvent event) {
		super.actionPerformed(event);

		if (event.key.id == input.down.id
				&& event.type == InputEventType.PRESSED) {
			selectedEntry++;
		}
		if (event.key.id == input.up.id && event.type == InputEventType.PRESSED) {
			selectedEntry--;
		}
		if (selectedEntry < 0) {
			selectedEntry = 0;
		}
		if (selectedEntry >= worlds.length) {
			selectedEntry = worlds.length - 1;
		}
		if (event.key.id == input.action.id
				&& event.type == InputEventType.PRESSED) {
			game.setWorld(new World(game, worldFiles[selectedEntry]));
			close();
		}
	}