Пример #1
0
    public bool SetReach(bool isReach)
    {
        if (_allHais.Count <= 0)
        {
            return(false);
        }

        // set last hai reach.
        MahjongPai lastHai = _allHais[_allHais.Count - 1];

        lastHai.SetReach(isReach);

        _curLineRightAligPosX += (MahjongPai.Height - MahjongPai.Width);

        return(true);
    }