//public readonly int WindId = (int)TileID.enumTid_TON;



        private void InitDealCfgs()
        {
            for (int i = 0; i < 4; ++i)
            {
                _dealCfgs[i] = new DealCfg(i, this);
            }
        }
        private void ClearDealCfgTiles(DealCfg dealCfg)
        {
            foreach (var t in dealCfg.TilesHand)
            {
                _wallTiles[t]++;
            }

            foreach (var t in dealCfg.TilesFlower)
            {
                _wallTiles[t]++;
            }

            dealCfg.TilesHand.Clear();
            dealCfg.TilesFlower.Clear();

            WallTiles2Ui();
            dealCfg.Tiles2Ui();
        }
        private void DrawForDealCfg(DealCfg dealCfg)
        {
            int total = 13;

            if (dealCfg.IsBanker)
            {
                total = 14;
            }

            int current = dealCfg.TilesHand.Count;

            if (current == total)
            {
                return;
            }

            while (current < total)
            {
                int        tile;
                List <int> flowers = new List <int>();
                var        ok      = DrawNonFlower(out tile, flowers);

                dealCfg.TilesFlower.AddRange(flowers);

                if (!ok)
                {
                    break;
                }

                dealCfg.TilesHand.Add(tile);
                current++;
            }

            WallTiles2Ui();
            dealCfg.Tiles2Ui();
        }