public void run() {

		while (true) {
			try {
				newData = receiver.getData();
				
				if (newData != null){
					System.out.println("Trololol this is newData: " + newData);
					gameLogic = new GameLogic(newData);
					gameWindow = new GameWindow(gameLogic);
				 } else {}

				sleep(1000);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
	}