Esempio n. 1
0
        public void UpdateCell(string groupName, GridCell cell)
        {
            db.UpdateSudoku(groupName, cell);
            var sudoku = db.GetSudoku(groupName);  // updated sudoku.//
            var updatedCell = sudoku.Grid[cell.RowIndex].Cells[cell.ColIndex];

            // Trigger the update to all users of that Group.//
            Clients.Group(groupName).cellUpdated(updatedCell, sudoku);
        }
Esempio n. 2
0
 internal static void UpdateSudoku(string groupName, GridCell cell)
 {
     Sudokus[groupName].Grid[cell.RowIndex].Cells[cell.ColIndex].Data = cell.Data;
 }
Esempio n. 3
0
 internal static void UpdateSudoku(string groupName, GridCell cell)
 {
     Sudokus[groupName].Grid[cell.RowIndex].Cells[cell.ColIndex].Data = cell.Data;
 }