@Override
	public void tick() {
		super.tick();
		if (input.escape.clicked) System.exit(0);
		if (input.enter.clicked) {
			if (selected == 0) System.exit(0);
		}
		if (input.backspace.clicked) {
			if (input.keyboardString.length() > 0) {
				input.keyboardString = input.keyboardString.substring(0, input.keyboardString.length() - 1);
			}
		}
		if (connected) game.setMenu(null);
	}