public Cell CreateCell (int col, int row) { var cell = new Cell (this, col, row); Attach (cell); return cell; }
public void Attach (Cell cell) { long k = MakeKey (cell); cells [k] = cell; }
static long MakeKey (Cell cell) { return (cell.Col << 32) | cell.Row; }