#include <history.h>
Public Member Functions | |
virtual | ~Move () |
Destructor. | |
virtual void | execute ()=0 |
Do the move. | |
virtual void | takeBack ()=0 |
Undo the move. |
Definition at line 76 of file history.h.
virtual Sudoku::Move::~Move | ( | ) | [inline, virtual] |
virtual void Sudoku::Move::execute | ( | ) | [pure virtual] |
Do the move.
Implemented in Sudoku::SetMove.
Referenced by Sudoku::PuzzleGame::forward(), and Sudoku::PuzzleGame::set_with_history().
virtual void Sudoku::Move::takeBack | ( | ) | [pure virtual] |