Ejemplo n.º 1
0
    public void SetBoardTeamID(int value)
    {
        if (combatCellList != null)
        {
            for (int i = 0; i < combatCellList.Count; i++)
            {
                CombatantCell cc = combatCellList[i];
                cc.InitCombatantCell(value);
            }
        }

        if (slotList != null)
        {
            for (int j = 0; j < slotList.Count; j++)
            {
                CellSlot cs = slotList[j];
                cs.SetTeamID(value);
            }
        }
    }