Logo Search packages:      
Sourcecode: vdr-plugin-sudoku version File versions  Download package

unsigned int Numbers::get ( Pos  pos  )  const [virtual, inherited]

Get the number from this cell.

Definition at line 55 of file puzzle.cpp.

References Sudoku::DIM.

Referenced by given(), SudokuPlugin::Menu::paint(), reset(), Sudoku::Numbers::set_contents(), and untouched().

{
  assert (pos <= Pos::last());
  assert (0 <= content[pos] && content[pos] <= DIM);
  return content[pos];
}


Generated by  Doxygen 1.6.0   Back to index