public boolean willThisMoveCauseCheckOrEaten(int x, int y, int a, int b)
	{
	boolean causeCheck=false;
		v1Bobby enemy = new v1Bobby(this.getB(), !color);
		Point oldLocation= new Point(x,y);
		Point p4=new Point(a,b);
		boolean possibleMove=false;
		boolean dontLook= false;
		if(this.b[a][b].toString().charAt(1) != 'X'){
			dontLook=true;
		}
		if(dontLook==true)
		{
			if(numDefenders(a,b)!=0) causeCheck=true;
		}
		if(dontLook==false)
		{	
		move(x,y,a,b);
		enemy.getBoard(this.b);
		int bob= enemy.numDefenders(a,b);
		if(bob!=0 && (bob>numDefenders(a,b) || this.b[a][b].toString().charAt(1) == 'Q' || this.b[a][b].toString().charAt(1) == 'R')) causeCheck=true;
		if(check()==true) causeCheck=true;
		move(a,b,x,y);
		}
		enemy.getBoard(this.b);	
		
		
		
		return causeCheck;
	}