Added getRelative method for tiles.