public int getShiftY(Tile otherTile) {
        if (this.equals(otherTile)) {
            return 0;
        }

        return this.tileY % 2 + 2 * getParent().getShiftY(otherTile);
    }
@Test
    public void getShiftYTest() {
        Tile tile0 = new Tile(0, 0, (byte) 0, TILE_SIZE);
        Tile tile1 = new Tile(0, 1, (byte) 1, TILE_SIZE);
        Tile tile2 = new Tile(1, 2, (byte) 2, TILE_SIZE);

        Assert.assertEquals(0, tile0.getShiftY(tile0));
        Assert.assertEquals(1, tile1.getShiftY(tile0));
        Assert.assertEquals(2, tile2.getShiftY(tile0));
        Assert.assertEquals(0, tile2.getShiftY(tile1));
    }