Esempio n. 1
0
    void AddFormationCell(string grid, List <FormationCell> list)
    {
        int x, z;

        HelpUtil.CalculateGrid(grid, out x, out z);

        if (-1 == x || -1 == z)
        {
            return;
        }

        FormationCell cell;

        cell.x = x;
        cell.z = z;
        list.Add(cell);
    }