Exemple #1
0
    public static void CreateChamber(int col, int row)
    {
        if (grid.ContainsKey(HexaCell.GetIndex(col, row)))
        {
            return;
        }

        HexaCell cell = new HexaCell(col, row);

        Chamber.Create(cell, Instance.hexaPrefab, Instance.transform);
        grid.Add(cell.Index, cell);
    }