public void run() {
	
		while (true) {
			
			
			try {
				receiveInput();
			} catch (InterruptedException e) {
				System.out.println("Interrupt error at Player.run");
				e.printStackTrace();
			}
			
			if(getMem().current != null) {
				Pos pt = mh.vSub(getMem().current, getMem().home);
				
				if((Math.abs(pt.x) > 0.5) ||(Math.abs(pt.y) > 0.5)) {
					getMem().isHome = false;
				}
				else
					getMem().isHome = true;
			}
			else 
				System.out.println("Current is null");
			
		}

	}