Пример #1
0
    public void ChangeCells(List <CellInfo> cells)
    {
        if (cells != null)
        {
            for (int i = 0; i < cells.Count; i++)
            {
                CellInfo cellInfo = cells[i];

                FightCellItem itemCtr = GetItemByRunId(cellInfo.runId);

                if (itemCtr != null)
                {
                    UpdateCellInfo(itemCtr, cellInfo, false);
                }
            }
            effectLayer.ChangeBombs(cells);
        }
    }