int getShiftX(Tile otherTile) { if (this == otherTile) { return 0; } return tileX % 2 + 2 * getParent()!.getShiftX(otherTile); }