void gameLoop(){
		if(!running){
			clientListen.running = false;
			return;
		}
		
		game.operateEntities(period);
		
		game.sendData(clientListen.streams, gameTime, clientListen.newPlayer);
		clientListen.newPlayer = -1;
		
		gameTime += period;
		
	}