public int getX(){
		
		if(beingHeld){
		
			return x;
		}
		char xChar = getCurrentSquare().charAt(0);
	
		switch(xChar){
		
		case 'a':
			return 20;
		case 'b':
			return 120;
		case 'c':
			return 220;
		case 'd':
			return 320;
		case 'e':
			return 420;
		case 'f':
			return 520;
		case 'g':
			return 620;
		case 'h':
			return 720;		
		}
		
		return 0;
	}