@Override
	public void preform(int source) {
		switch(source) {
			case(0): //Disconnecting
				if(host) {
					try {
						Server.server.close();
					} catch (IOException e) {
						e.printStackTrace();
					}
				}
				closeGui(this); break;
			case(1): Rocket.getRocket().network.manager.sendStartgame();
				break;
			case(2): break;
		}
	}