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

void Tableau::deal (  ) 

Deal one row

Definition at line 243 of file tableau.c.

References History::add(), History::current(), Heap::empty(), Move::execute(), noPileEmpty(), and unselect().

Referenced by SpiderGame::ProcessKey().

{
  if (!pack->empty() && noPileEmpty())
  {
    history->add(new DealMove(pack, piles));
    history->current()->execute();

    unselect();
    changed = true;
  }
}


Generated by  Doxygen 1.6.0   Back to index