private Vector3 keyToTileCenter(String key){
  Vector3 p=new Vector3();
  String[] token=key.split("/");
  if (token.length <= 1) {
    return (p);
  }
  double n=Math.pow(2,token.length);
  double w=worldWidth / n;
  double l=worldLength / n;
  int q=Integer.valueOf(token[token.length - 1]);
switch (q) {
case 1:
    p.set(p.getX() - w,p.getY() + l,0);
  break;
case 2:
p.set(p.getX() + w,p.getY() + l,0);
break;
case 3:
p.set(p.getX() - w,p.getY() - l,0);
break;
case 4:
p.set(p.getX() + w,p.getY() - l,0);
break;
}
return (p);
}

private Vector3 keyToTileCenter ( String key ) { Vector3 p = new Vector3 ( ) ; String [ ] token = key . split ( "/" ) ; if ( token . length <= 1 ) { return ( p ) ; } double n = Math . pow ( 2 , token . length ) ; double w = worldWidth / n ; double l = worldLength / n ; int q = Integer . valueOf ( token [ token . length - 1 ] ) ; switch ( q ) { case 1 : p . set ( p . getX ( ) - w , p . getY ( ) + l , 0 ) ; break ; case 2 : p . set ( p . getX ( ) + w , p . getY ( ) + l , 0 ) ; break ; case 3 : p . set ( p . getX ( ) - w , p . getY ( ) - l , 0 ) ; break ; case 4 : p . set ( p . getX ( ) + w , p . getY ( ) - l , 0 ) ; break ; } return ( p ) ; }
given a key , get the translation from the parent center
