示例#1
0
文件: Hand.cs 项目: tkitada/mahjong
        public TileId Dahai(int index)
        {
            TileId dahai;

            if (index == 13)
            {
                dahai     = TsumoTile;
                TsumoTile = null;
            }
            else
            {
                dahai = Tehai[index];
                Tehai.RemoveAt(index);
                Tehai.Add(TsumoTile);
            }
            return(dahai);
        }