Example #1
0
        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);
        }