private void convToCart(Location loc) {
		char[] labels = Board.ALPHABET;
		String[] points = Board.BOARDREFERENCE;

		int found = 0;
		for(int i=0; i<24; i++){
			if(loc.equal(labels[i])){
				found = i;
			}
		}
		
		String t[] = points[found].split(",");
		int row = Integer.parseInt(t[0]);
		int col = Integer.parseInt(t[1]);
		
		if(loc == this.origin){
			this.x1 = col * GamePanel.CELL_SIZE+25;
			this.y1 = row * GamePanel.CELL_SIZE+25;
			this.curX = this.x1;
			this.curY = this.y1;
		}
		else{
			this.x2 = col * GamePanel.CELL_SIZE+25;
			this.y2 = row * GamePanel.CELL_SIZE+25;
		}
		
	}