Logo Search packages:      
Sourcecode: vdr-plugin-spider version File versions

void History::add ( Move move  ) 

Add a new move

Definition at line 40 of file history.c.

Referenced by Tableau::deal(), Tableau::move(), and Tableau::remove().

{
  for (unsigned int pos = history.size(); pos > executed; --pos)
  {
    // Remove object created outside of History
    delete history.back();
    history.pop_back();
  }
  history.push_back(move);
  ++executed;
}


Generated by  Doxygen 1.6.0   Back to index