public BaseFeature GetEdge(int edgeIndex)
    {
        float rotation           = tileTransform.eulerAngles.y;
        int   convertedEdgeIndex = (edgeIndex - (int)(rotation / 90)) % 4;

        return(Tile.GetBoarder(convertedEdgeIndex));
    }