@Override
	protected void press() {
		switch (selected) {
			case 0:
				break;
			case 1:
                break;
			case 2:
				try {
					Game.server = new Server(1999, Integer.parseInt(maxPlayers));
					Game.server.start();
					new Client(Inet4Address.getLocalHost().getHostAddress(), 1999, gameTag);
					setState(gameId);
				} catch (Exception e) {
				}
				break;
			case 3:
                Game.Online = true;
				setState(multiplayerId);
		}
	}